summaryrefslogtreecommitdiff
path: root/t/t7509-commit.sh
diff options
context:
space:
mode:
authorLibravatar Tay Ray Chuan <rctay89@gmail.com>2011-11-03 00:17:12 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-11-02 12:35:37 -0700
commit3706ed298cbb5d4052ca0793ca36d9f28b4885bc (patch)
treeac8c721ab252d7516330c354d54eb505dd6e76bc /t/t7509-commit.sh
parentUpdate draft release notes to 1.7.8 (diff)
downloadtgif-3706ed298cbb5d4052ca0793ca36d9f28b4885bc.tar.xz
branch -m: handle no arg properly
Modify the option parsing heuristic to handle all -m (rename) cases, including the no-arg case. Previously, this "fell through" to the (argc <= 2) case and caused segfault. Reported-by: Stefan Näwe <stefan.naewe@atlas-elektronik.com> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7509-commit.sh')
0 files changed, 0 insertions, 0 deletions