summaryrefslogtreecommitdiff
path: root/t/t5531-deep-submodule-push.sh
diff options
context:
space:
mode:
authorLibravatar Pete Wyckoff <pw@padd.com>2013-01-14 19:47:03 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-15 09:46:30 -0800
commit40d69ac3a4fd72b879bab9975b26e1b445b5f0cc (patch)
treeabddf95561f004e69f2176382c6559891d2f0f78 /t/t5531-deep-submodule-push.sh
parentgit p4 doc: fix branch detection example (diff)
downloadtgif-40d69ac3a4fd72b879bab9975b26e1b445b5f0cc.tar.xz
git p4: allow short ref names to --branch
For a clone or sync, --branch says where the newly imported branch should go, or which existing branch to sync up. It takes an argument, which is currently either something that starts with "refs/", or if not, "refs/heads/p4" is prepended. Putting it in heads seems like a bad default; these should go in remotes/p4/ in most situations. Make that the new default, and be more liberal in the form of the branch name. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5531-deep-submodule-push.sh')
0 files changed, 0 insertions, 0 deletions