Skip to content
Snippets Groups Projects
Commit cdb05322 authored by Steffen Müthing's avatar Steffen Müthing Committed by Martin Nolte
Browse files

Adjust git rev-parse to modern Git syntax

parent 7ac598e2
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
# files will be matched against those regexes.
# git-diff-index needs a valid commit to compare to
if git-rev-parse --verify HEAD 2>/dev/null
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment