summaryrefslogtreecommitdiff
path: root/t/t5600-clone-fail-cleanup.sh
diff options
context:
space:
mode:
authorLibravatar Paul Mackerras <paulus@samba.org>2013-01-01 16:51:03 +1100
committerLibravatar Paul Mackerras <paulus@samba.org>2013-01-01 16:51:03 +1100
commitd809fb17b00f912112090294ff0257c8a87af56e (patch)
tree64f454e1131c223818fef5a734605ff0318309ff /t/t5600-clone-fail-cleanup.sh
parentgitk: Update Swedish translation (296t) (diff)
downloadtgif-d809fb17b00f912112090294ff0257c8a87af56e.tar.xz
gitk: Fix display of branch names on some commits
Sometimes the code that divides commits up into arcs creates two successive arcs, but the commit between them (the commit at the end of the first arc and the beginning of the second arc) has only one parent and one child. If that commit is also the head of one or more branches, those branches get omitted from the "Branches" field in the commit display. The omission occurs because the commit gets erroneously identified as a commit which is part-way along an arc in [descheads]. This fixes it by changing the test to look at the arcouts array, which only contains elements for the commits at the start or end of an arc. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t5600-clone-fail-cleanup.sh')
0 files changed, 0 insertions, 0 deletions