author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Oct 2007 04:25:34 +0000 (00:25 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Oct 2007 04:25:56 +0000 (00:25 -0400) | ||
commit | 18184f79dbf70e157399ba2288f7045582fd61c6 | |
tree | b2a218a177899273fc216eba9d1a0fd6f0f51656 | tree | snapshot |
parent | 2e13e5d89252ceef606a0a7be32dbf5bea7e5aca | commit | diff |
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>
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 | diff | blob | history |