Fix 'push --all branch...' error handling
commit18184f79dbf70e157399ba2288f7045582fd61c6
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 04:25:34 +0000 (16 00:25 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 04:25:56 +0000 (16 00:25 -0400)
treeb2a218a177899273fc216eba9d1a0fd6f0f51656
parent2e13e5d89252ceef606a0a7be32dbf5bea7e5aca
Fix 'push --all branch...' error handling

The builtin-fetch topic changed push's handling of --all to setting
the new TRANSPORT_PUSH_ALL flag before starting the push subroutine
for the given transport.  Unfortunately not all references within
builtin-push were changed to test this flag therefore allowing push
to incorrectly accept refspecs and --all.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-push.c