We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c9d8224 commit 52eed92Copy full SHA for 52eed92
scripts/prepare-commit.sh
@@ -20,15 +20,7 @@ set -e
20
if [ -d .svn ]; then
21
MODIFIED=$(svn status | sed -ne "s/^[MA] *//p")
22
elif [ -d .git ]; then
23
- case $OSTYPE in
24
- darwin*)
25
- MODIFIED=$(git status | sed -Ene "s/^# (modified|new file): *//p" | sort -u)
26
- ;;
27
- *)
28
- MODIFIED=$(git status | sed -rne "s/^# (modified|new file): *//p" | sort -u)
29
30
- esac
31
-
+ MODIFIED=$(git status --porcelain| sed -ne "s/^ *[MA] *//p" | sort -u)
32
else
33
echo No working copy
34
exit 1
0 commit comments