1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-15 13:43:45 +01:00
git/contrib/subtree
John Keeping 3212d56ce5 contrib/subtree: don't delete remote branches if split fails
When using "git subtree push" to split out a subtree and push it to a
remote repository, we do not detect if the split command fails which
causes the LHS of the refspec to be empty, deleting the remote branch.

Fix this by pulling the result of the split command into a variable so
that we can die if the command fails.

Reported-by: Steffen Jaeckel <steffen.jaeckel@stzedn.de>
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-05-01 10:13:32 -07:00
..
t contrib/subtree: fix spelling of accidentally 2013-04-12 12:23:12 -07:00
.gitignore git-subtree: ignore git-subtree executable 2012-12-22 20:21:26 -08:00
COPYING
git-subtree.sh contrib/subtree: don't delete remote branches if split fails 2013-05-01 10:13:32 -07:00
git-subtree.txt Merge branch 'dg/subtree-fixes' 2013-02-14 10:28:26 -08:00
INSTALL Fix git-subtree install instructions 2012-04-09 22:26:19 -05:00
Makefile contrib/subtree: make the manual directory if needed 2013-02-05 15:23:41 -08: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