untracked files
twintech opened this issue · 2 comments
twintech commented
Hi Simon,
There is an issue regarding untracked files.
This line:
if [ ! -z "$(git status --short | grep -E '^[^U\?][^U\?]*')" ]
does not match this case:
?? new_file
I'm using ubuntu 12.04 with
poof@app03:~$ git --version
git version 1.7.9.5
Is it possible that the grep regexp behaves different from your case?
Regards,
Marius
simonthum commented
Hi,
thanks your your report. I will look into it, likely the regexp is not perfect. I do not use auto-commit new files personally as it is cumbersome to get rid of them later on, so this is probably not heavily tested.
simonthum commented
I just pushed something I believe fixes your issue - please reopen if it does not resolve the issue. Thanks for reporting!