fatal: unrecognized argument: -q

Issue #1 resolved
Former user created an issue

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)

  1. Log in to comment