diff options
author | René Scharfe <l.s.r@web.de> | 2016-10-01 18:19:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-03 12:46:47 -0700 |
commit | 7e65c75c31de751f58945a22e91e120c10ab6e87 (patch) | |
tree | a422c99131c99bd8ccf5f45dcf95bc17bc5aa3b6 /git-rebase--merge.sh | |
parent | 1b5294de406146c4ec321a59e07a5566c435cc2e (diff) | |
download | git-7e65c75c31de751f58945a22e91e120c10ab6e87.tar.gz git-7e65c75c31de751f58945a22e91e120c10ab6e87.tar.xz |
show-branch: use QSORT
Shorten the code by using QSORT instead of calling qsort(3) directly,
as the former determines the element size automatically and checks if
there are at least two elements to sort already.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase--merge.sh')
0 files changed, 0 insertions, 0 deletions