]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git p4: fail gracefully on sync with no master branch
authorPete Wyckoff <pw@padd.com>
Tue, 15 Jan 2013 00:47:05 +0000 (19:47 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 17:46:30 +0000 (09:46 -0800)
commit5a8e84cde3711076d3ad7260daa0a24ee40c8e07
tree6a395f0baccfce05af0e0ad2a07a164f846d2138
parent47497844442615b6e5cd5f9b9e1552e8ba84ce71
git p4: fail gracefully on sync with no master branch

If --branch was used to build a repository with no
refs/remotes/p4/master, future syncs will not know
which branch to sync.  Notice this situation and
print a helpful error message.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
t/t9806-git-p4-options.sh