fd-commit: don't break when non-metadata files show up in git status

This commit is contained in:
Daniel Martí committed 2014-08-16 17:51:32 +02:00
1 parent 18ac3044c7
commit 97d1724ca0
1 file changed
+1
+1
View File
@@ -34,6 +34,7 @@ while read line; do
case "$line" in
*'??'*'metadata/'*'.txt') new=true ;;
*'M'*'metadata/'*'.txt') new=false ;;
*) continue ;;
esac
file=${line##* }