summaryrefslogtreecommitdiffstats
path: root/bin/git-gpush
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-03-22 13:32:49 +0100
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>2024-01-09 16:40:01 +0000
commit58a2bcd28cce5407dbab3adbc7d0b9524d59caf9 (patch)
tree9d47138982b0d0d2445d744716fb08216baf5636 /bin/git-gpush
parentf38c1da03852bd6abc26c381bf06f0892373571f (diff)
gpush: don't reject a plain tip revspec with --all
this is documented to work, and is actually useful. code which correctly rejects the specification of ranges is already present further down. amends b36c69ea. Change-Id: I6ab153f2ccc601a6317a5cb96999e4f987e55562 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'bin/git-gpush')
-rwxr-xr-xbin/git-gpush2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/git-gpush b/bin/git-gpush
index 5425649..7afbfd0 100755
--- a/bin/git-gpush
+++ b/bin/git-gpush
@@ -572,8 +572,6 @@ sub parse_arguments(@)
$add_ids = -$add_ids;
}
} else {
- fail("--all is incompatible with specifying commits.\n")
- if ($push_all);
if ($from =~ /^(.*)\.\.(.*)$/) {
fail("Specifying a commit count and a range base are mutually exclusive.\n")
if ($commit_count);