On 07/12/2013 08:42 AM, Mikko Rapeli wrote: > > Hi Cygwin and git developers, > > Does following scenario show signs of bugs in Cygwin and/or git? > > # setup git repo > $ cd /tmp > $ mkdir foo && cd foo > $ git init > > # create x: directory > $ mkdir x: > $ ls > x:
IMHO, this makes an interesting problem (unrelated to git): Shell script prompts user for file name. User enters "x:". Script proceeds as follows: $ mkdir tmpdir $ touch tmpdir/x: $ # useful work done here $ rm -r tmpdir rm: cannot remove `tmpdir/x:': No such file or directory rm: cannot remove `tmpdir': Directory not empty $ It would seem that touch and rm are following different rules regarding how files may be named. --Ken Nellis -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple