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)
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>

No differences found