diff options
author | Fredrik Åslund <fredrik.aslund@umu.se> | 2013-08-26 10:36:31 +0200 |
---|---|---|
committer | Fredrik Åslund <fredrik.aslund@umu.se> | 2013-08-26 10:36:31 +0200 |
commit | 41ab5b41186cac16eb872c51f9e4edae7fa14995 (patch) | |
tree | d2669b1d11169a79598de6f5cc03761a3950c744 /Makefile | |
parent | 7879735a676c6887bb59041000b0de353cb4ad23 (diff) |
Makefile updated to abort commit on untracked swamid-2.0/ files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -146,6 +146,7 @@ commit: tidy test @echo ; echo -n "Run 'git commit -a'? [Y/n] " ; read x ; case $$x in "Y"|"y"|"") ;; *) exit 1 ;; esac @git commit -a @git status -u + @if git status --porcelain --ignored | awk '{print $2}' | grep ^swamid-2.0/ ; then echo "Untracked files in swamid-2.0/, aborting" ; exit 1 ; fi @echo ; echo -n "Run 'git push'? [Y/n] " ; read x ; case $$x in "Y"|"y"|"") ;; *) exit 1 ;; esac @git push |