chiark / gitweb /
Fixes "stg goto `stg top`" to no-op & adds test
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 2 Nov 2006 21:18:32 +0000 (21:18 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 2 Nov 2006 21:18:32 +0000 (21:18 +0000)
commit9b63cf56576bf219d26f490f3c011e937a5f7129
treefab54a5f78a1219a2097709743aced34cce334c1
parent0ba13ee974124145b9d47b8f305db717e7ab3630
Fixes "stg goto `stg top`" to no-op & adds test

Please forgive me that didn't read the test metadata through while
producing the last patch. This time also it should be correct...

StGIT tried to access index that is not valid when goto'ing to
the current patch. Adds also a test for it.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
stgit/commands/common.py
t/t1700-goto-top.sh [new file with mode: 0755]