# HG changeset patch # User Steve Losh # Date 1287342153 14400 # Node ID a9edc6870de6c385827936117e342c5545ae1d57 # Parent 9978d91242634f151e17be75cd3268adfadeb704 Fix a pile of bugs by showing the root node in the graph. diff -r 9978d9124263 -r a9edc6870de6 doc/gundo.txt --- a/doc/gundo.txt Fri Oct 15 18:25:55 2010 -0400 +++ b/doc/gundo.txt Sun Oct 17 15:02:33 2010 -0400 @@ -60,6 +60,7 @@ | |/ | | | o [1] 4 hours ago | | | | | | + | o [0] Original | | +-----------------------------------+ | | --- 3 2010-10-12 06:27:35 PM | | | +++ 5 2010-10-12 07:38:37 PM | | diff -r 9978d9124263 -r a9edc6870de6 plugin/gundo.vim --- a/plugin/gundo.vim Fri Oct 15 18:25:55 2010 -0400 +++ b/plugin/gundo.vim Sun Oct 17 15:02:33 2010 -0400 @@ -37,8 +37,6 @@ " Bound the movement to the graph. if target_n <= 4 call cursor(5, 0) - elseif target_n >= line('$') - call cursor(line('$') - 1, 0) else call cursor(target_n, 0) endif @@ -81,7 +79,6 @@ nnoremap