[Bug] /security-review command fails with git merge-base option error
Bug Description
/security-review doesn't work. Gives an error: Error: Bash command failed for pattern "!git diff --merge-base origin/HEAD": error: unknown option `merge-base'
usage: git diff --no-index [] [...]
Diff output format options -p, --patch generate patch
-s, --no-patch suppress diff output
-u generate patch
-U, --unified[=] generate diffs with lines context
-W, --[no-]function-context
generate diffs with lines context
--raw generate the diff in raw format
--patch-with-raw synonym for '-p --raw'
--patch-with-stat synonym for '-p --stat'
--numstat machine friendly --stat
--shortstat output only the last line of --stat
-X, --dirstat[=,...]
output the distribution of relative amount of changes for each sub-directory
--cumulative synonym for --dirstat=cumulative
--dirstat-by-file[=,...]
synonym for --dirstat=files,,...
--check warn if changes introduce conflict markers or whitespace errors
--summary condensed summary such as creations, renames and mode changes
--name-only show only names of changed files
--name-status show only names and status of changed files
--stat[=[,[,]]]
generate diffstat
--stat-width generate diffstat with a given width
--stat-name-width
generate diffstat with a given name width
--stat-graph-width
generate diffstat with a given graph width
--stat-count generate diffstat with limited lines
--[no-]compact-summary
generate compact summary in diffstat
--binary output a binary diff that can be applied
--[no-]full-index show full pre- and post-image object names on the "index" lines
--[no-]color[=] show colored diff
--ws-error-highlight
highlight whitespace errors in the 'context', 'old' or 'new' lines in the diff
-z do not munge pathnames and use NULs as output field terminators in --raw or --numstat
--[no-]abbrev[=] use digits to display object names
--src-prefix show the given source prefix instead of "a/"
--dst-prefix show the given destination prefix instead of "b/"
--line-prefix
prepend an additional prefix to every line of output
--no-prefix do not show any source or destination prefix
--default-prefix use default prefixes a/ and b/
--inter-hunk-context
show context between diff hunks up to the specified number of lines
--output-indicator-new
specify the character to indicate a new line instead of '+'
--output-indicator-old
specify the character to indicate an old line instead of '-'
--output-indicator-context
specify the character to indicate a context instead of ' '
Diff rename options
-B, --break-rewrites[=[/]]
…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗