aboutsummaryrefslogtreecommitdiffstats
path: root/line-log.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-03-11 02:47:17 -0700
committerJunio C Hamano <gitster@pobox.com>2019-03-12 17:38:03 +0900
commit77128ed90e9a24182e6606548e627753d8f034e1 (patch)
treecf200e1b5b1d5864509e6f61d272556115826b61 /line-log.c
parente902e9bcae2010bc42648c80ab6adc6c5a16a4a5 (diff)
downloadgit-77128ed90e9a24182e6606548e627753d8f034e1.tar.gz
contrib/subtree: ensure only one rev is provided
While looking at the inline help for git-subtree.sh, I noticed that git subtree split --prefix=<prefix> <commit...> was given as an option. However, it only really makes sense to provide one revision because of the way the commits are forwarded to rev-parse so change "<commit...>" to "<commit>" to reflect this. In addition, check the arguments to ensure that only one rev is provided for all subcommands that accept a commit. Signed-off-by: Denton Liu <liu.denton@gmail.com> Acked-by: Avery Pennarun <apenwarr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-log.c')
0 files changed, 0 insertions, 0 deletions