1.7.7.3 wishlist: add --verbose option to git-tag
In scripts it would be useful if "git tag" would provide option:
--verbose
As in script:
git tag --verbose -m "Initial import" upstream/1.0
It would also help if all commands would use similar interface. In "git tag" case, this would meen relocating:
-v => -g, --verify-gpg
And reserve these:
-v, --verbose
Jari
Quoted 7 lines · Jari Aalto
In scripts it would be useful if "git tag" would provide option:
--verbose
As in script:
git tag --verbose -m "Initial import" upstream/1.0
What would the --verbose flag do?
Quoted 8 lines
It would also help if all commands would use similar interface. In "git tag" case, this would meen relocating:
-v => -g, --verify-gpgAnd reserve these:
-v, --verbose
I agree it would be nicer. We would need to follow the usual deprecation procedure of:
1. introduce "-g", leave "-v" as a deprecated alias
2. wait a long time
3. drop "-v"
If you want to start a discussion, producing a patch for (1) is probably the best way. If your plan is eventual consistency between options of various commands, an even better start would be listing the existing non-verbose uses of "-v" and making aliases for all of them.
-Peff
Quoted 7 lines · Jari Aalto
In scripts it would be useful if "git tag" would provide option:
--verbose
As in script:
git tag --verbose -m "Initial import" upstream/1.0
"In scripts", you are expected to be capable of doing anything fancy with "git cat-file tag", but we add things that turn out to be commonly needed.
What does the proposed "--verbose" produce that makes scripts easier to write (i.e. avoids repeated post-processing of "git cat-file tag" output), and how commonly would what you propose apply to various people's needs other than yours?
On 2012-01-03 12:02, Junio C Hamano wrote:
| Jari Aalto <[email protected]> writes: | | > In scripts it would be useful if "git tag" would provide option: | > | > --verbose | > | > As in script: | > | > git tag --verbose -m "Initial import" upstream/1.0 | | What does the proposed "--verbose" produce that makes scripts easier to | write
Not "easier write", but to display progress to user; show what is hapening. Similarly to other --verbose options. Messgae could be:
"tagged: upstream/1.0 asd1234"
Jari