BUG: git_work_tree issue with git alias and scripting

2015-09-18 Thread Tuomo Tanskanen
Hello, Attached is a simple script exposing a possible bug when git alias is combined with git commands in script. It should be pretty self-explanatory. Check what it does and execute it. On my Linux and OSX, both with git 2.5.1 behave the same, ie. git add fails even the file "test" is in $PWD.

BUG: git_work_tree issue with git alias and scripting

2015-09-18 Thread Tuomo Tanskanen
Hello, Attached is a simple script exposing a possible bug when git alias is combined with git commands in script. It should be pretty self-explanatory. Check what it does and execute it. On my Linux and OSX, both with git 2.5.1 behave the same, ie. git add fails even the file "test" is in $PWD.