Skip to content
Branch: master
Find file History
Denton-L and gitster 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>
Latest commit 77128ed Mar 11, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
t subtree test: simplify preparation of expected results Jul 30, 2018
.gitignore subtree: add an install-html target Oct 15, 2014
COPYING Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c649462… Apr 10, 2012
INSTALL Fix git-subtree install instructions Apr 10, 2012
Makefile Revert "subtree: make install targets depend on build targets" Oct 18, 2018
README Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c649462… Apr 10, 2012
git-subtree.sh
git-subtree.txt Correct mispellings of ".gitmodule" to ".gitmodules" Feb 14, 2018
todo contrib/subtree: remove "push" command from the "todo" file Nov 6, 2015

README

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
You can’t perform that action at this time.