BUG - git clean

2013-10-11 Thread jones.noamle
Passing to git clean wrong (non-existent) paths together with valid ones, causes it to delete stuff that it shouldn't. Am I right? Script to reproduce: mkdir test cd test git init . mkdir ba mkdir ba/ca # So far so good. # Should clean directory "ba/ca" git clean -dn -- ba/ca # Should clean "b

gc does not clean up after itself when not enough disk space

2013-02-26 Thread jones.noamle
When git gc fails on no more disk space, it leaves tmp_pack files lying around that consume whatever space was available (and fill up the disk to 100%). Shouldn't git be deleting these files? Running git 1.7.9 on cygwin: # git --version git version 1.7.9 # uname -a CYGWIN_NT-6.1-WOW64 1.7.