- changed status to resolved
fatal: unrecognized argument: -q
As far as I understand, the -q
tag is being used here to suppress diff output: https://bitbucket.org/jheger/stash-tagdetails/src/1f2789e73223169ad0503a434646dadc01857acd/src/main/java/jh/atlassian/stash/tagdetails/RestService.java?at=master#RestService.java-50
Unfortunately, it does not work with old git versions (such as 1.7.9.5 or 1.8.3.2):
git show v0.1 -q
fatal: unrecognized argument: -q
Also it is not listed in the git show
docs.
I suggest replacing -q
with the -s, --no-patch
key which seems to be working well for all versions.
Comments (3)
-
repo owner -
repo owner Many thanks for that! I investigated the options --no-patch, -s, --quiet, -q. A little bit confusing what is documented in the 'git show -h', the online manuals, and what is functional. See the attached chart.
(https://bitbucket.org/repo/7enpjr/images/2859122424-stash-tagdetails-1.0.2-options.png)
Kind regards, Johannes
-
Thank you for such a quick response!
- Log in to comment
Fix
#1fatal: unrecognized argument: -qReplace -q by -s which is functional in 1.9.5 as well as 1.8.3, 1.7.9
→ <<cset 45511e5cc0e7>>