summaryrefslogtreecommitdiff
path: root/builtin-pack-refs.c
diff options
context:
space:
mode:
authorAdam Simpkins <adam@adamsimpkins.net>2008-06-01 20:56:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-02 04:44:47 (GMT)
commitf1979d6b3fba41fb6ca92290bf8e10d58ede8970 (patch)
tree11c35606b71b210393f25b59c3c9c578edb53352 /builtin-pack-refs.c
parent3395908ee481e91bbe3ba054a7419b071b09cdef (diff)
downloadgit-f1979d6b3fba41fb6ca92290bf8e10d58ede8970.zip
git-f1979d6b3fba41fb6ca92290bf8e10d58ede8970.tar.gz
git-f1979d6b3fba41fb6ca92290bf8e10d58ede8970.tar.bz2
graph API: avoid printing unnecessary padding before some octopus merges
When an octopus merge is printed, several lines are printed before it to move over existing branch lines to its right. This is needed to make room for the children of the octopus merge. For example: | | | | | | \ \ | | \ \ | | \ \ | M---. \ \ | |\ \ \ \ \ However, this step isn't necessary if there are no branch lines to the right of the octopus merge. Therefore, skip this step when it is not needed, to avoid printing extra lines that don't really serve any purpose. Signed-off-by: Adam Simpkins <adam@adamsimpkins.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-pack-refs.c')
0 files changed, 0 insertions, 0 deletions