Skip to contentSkip to conversation

git-push: more visibility for -q option

PATCH In review Michal Suchanek 3 participants 4 messages Oct 20, 2023 – Oct 30, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-push: more visibility for -q option

The -v option listed at the top as option al parameter while -q is not.

List -q alongside -v.

---
 Documentation/git-push.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-push.txt +1 -1
index 5b4edaf4a8..003bc7d9ce 100644
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git push' [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
-	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
+	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]
 	   [-u | --set-upstream] [-o <string> | --push-option=<string>]
 	   [--[no-]signed|--signed=(true|false|if-asked)]
 	   [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]
Signature · 1 line
2.42.0
#2 lore raw
In reply to Michal Suchanek
Quoted 1 line · Michal Suchanek

The -v option listed at the top as option al parameter while -q is not.

"as option al parameter" - ECANNOTPARSE. Probably

The -v option is shown in the SYNOPSIS section near the top, but -q is not shown anywhere there.

or something, I think. I agree showing it next to "-v" would make the most sense.

Quoted 13 lines

List -q alongside -v.

---
 Documentation/git-push.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-push.txt +0 -0
index 5b4edaf4a8..003bc7d9ce 100644

Documentation/git-push.txt SYNOPSIS · line 13

Quoted 5 lines
Documentation/git-push.txt +1 -1
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git push' [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
-	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
+	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]

Yup, the change makes sense. We may want to wrap the first line to a more reasonable length in a separate commit, and when that happens, we probably would want to start [-v] [-q] on a separate line as well, but for now this would do.

#3 lore raw

Hello,

Quoted 11 lines · Junio C Hamano
Quoted 1 line · Michal Suchanek

The -v option listed at the top as option al parameter while -q is not.

"as option al parameter" - ECANNOTPARSE. Probably

The -v option is shown in the SYNOPSIS section near the top, but -q is not shown anywhere there.

or something, I think. I agree showing it next to "-v" would make the most sense.

when rebasing to current master I see this is already applied with the fixed commit message, great!

Thanks

Michal

Quoted 25 lines
Quoted 14 lines

List -q alongside -v.

---
 Documentation/git-push.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-push.txt +0 -0
index 5b4edaf4a8..003bc7d9ce 100644

Documentation/git-push.txt SYNOPSIS · line 13

Quoted 5 lines
Documentation/git-push.txt +1 -1
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git push' [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
-	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
+	   [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]

Yup, the change makes sense. We may want to wrap the first line to a more reasonable length in a separate commit, and when that happens, we probably would want to start [-v] [-q] on a separate line as well, but for now this would do.