1
0
mirror of https://github.com/git/git.git synced 2024-09-28 10:00:54 +02:00
git/contrib/subtree
Denton Liu 77128ed90e 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>
2019-03-12 17:38:03 +09:00
..
t
.gitignore
COPYING
git-subtree.sh contrib/subtree: ensure only one rev is provided 2019-03-12 17:38:03 +09:00
git-subtree.txt
INSTALL
Makefile Revert "subtree: make install targets depend on build targets" 2018-10-18 11:07:17 +09:00
README
todo

Please read git-subtree.txt for documentation.

Please don't contact me using github mail; it's slow, ugly, and worst of
all, redundant. Email me instead at apenwarr@gmail.com and I'll be happy to
help.

Avery