author | Paul Mackerras <paulus@samba.org> | |
Sat, 20 Oct 2007 12:10:52 +0000 (22:10 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 20 Oct 2007 12:10:52 +0000 (22:10 +1000) | ||
commit | 3ebba3c724f77d149061c62f4414166649c2e56e | |
tree | 702f92acf4559210eb6b2b1cbd9102d8e8da3a44 | tree | snapshot |
parent | 5d7589d4c43e941563dfa2d096e6d6c184191702 | commit | diff |
gitk: Avoid an error when cherry-picking if HEAD has moved on
This fixes an error reported by Adam Piątyszek: if the current HEAD
is not in the graph that gitk knows about when we do a cherry-pick
using gitk, then gitk hits an error when trying to update its
internal representation of the topology. This avoids the error by
not doing that update if the HEAD before the cherry-pick was a
commit that gitk doesn't know about.
Signed-off-by: Paul Mackerras <paulus@samba.org>
This fixes an error reported by Adam Piątyszek: if the current HEAD
is not in the graph that gitk knows about when we do a cherry-pick
using gitk, then gitk hits an error when trying to update its
internal representation of the topology. This avoids the error by
not doing that update if the HEAD before the cherry-pick was a
commit that gitk doesn't know about.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |