let mkChangelog ignore untacked files
authorMichael Andres <ma@suse.de>
Fri, 23 Dec 2011 13:53:25 +0000 (14:53 +0100)
committerMichael Andres <ma@suse.de>
Fri, 23 Dec 2011 13:53:25 +0000 (14:53 +0100)
mkChangelog

index b3ac21f..ba46a7a 100755 (executable)
@@ -107,7 +107,7 @@ function newchangesentry() {
   echo ""
 }
 
-git status --porcelain | grep '^[^ ]' | grep -v "$VERSIONFILE\|$CHANGESFILE" && {
+git status --porcelain | grep '^[^ ?]' | grep -v "$VERSIONFILE\|$CHANGESFILE" && {
   Becho "!!! Files other than version and changes are added to the index."
   Becho "!!! Doing dryrun..."
   DRYRUN=1