Hi Git Folk,
If one accidentally writes "git --bare init <dir>" instead of "git init --bare
<dir>" an appended directory argument is ignored and $CUR_DIR or the working
directory will be used:
pwd
/tmp/foo
git --bare init /tmp/bar
Initialized empty Git repository in /tmp/foo/
git init --bare /tmp/bar
Initialized empty Git repository in /tmp/bar/
... but both should probably be initialized in /tmp/bar/
Greetings,
Oliver Hoffmann