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 subtree test: simplify preparation of expected results 2018-07-30 13:58:16 -07:00
.gitignore subtree: add an install-html target 2014-10-15 15:17:08 -07:00
COPYING Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c64946232cc346' 2012-04-09 20:22:55 -05:00
git-subtree.sh contrib/subtree: ensure only one rev is provided 2019-03-12 17:38:03 +09:00
git-subtree.txt Correct mispellings of ".gitmodule" to ".gitmodules" 2018-02-14 11:34:34 -08:00
INSTALL Fix git-subtree install instructions 2012-04-09 22:26:19 -05:00
Makefile Revert "subtree: make install targets depend on build targets" 2018-10-18 11:07:17 +09:00
README Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c64946232cc346' 2012-04-09 20:22:55 -05:00
todo contrib/subtree: remove "push" command from the "todo" file 2015-11-06 09:32:33 -08:00

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