summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-01-06 13:54:58 +1100
committerPaul Mackerras <paulus@samba.org>2008-01-06 13:54:58 +1100
commitc8c9f3d9cc9a21084c9fe4742d0e66b7c988635c (patch)
tree157b6a4af6637aec5ee9b9b6a97a1af511d87829 /contrib/persistent-https
parentcd2bcae798ac2194f18374dc7dc10de404fd01d0 (diff)
downloadgit-c8c9f3d9cc9a21084c9fe4742d0e66b7c988635c.tar.gz
git-c8c9f3d9cc9a21084c9fe4742d0e66b7c988635c.zip
gitk: Fix potential bug with fake commit IDs in renumbervarc
When a fake row is added, we add its (fake) ID to the children list for its (fake) parent. If renumbervarc were to then renumber the parent it would incorrectly use the fake child. This avoids the problem by adding a last_real_child procedure which won't return a fake ID, and using it in renumbervarc. For symmetry this also adds a first_real_child procedure and uses it in ordertoken. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions