Hi,
On Fri, 25 Jul 2008, Geoff Russell wrote:
I was pretty surprised to find that my command line switch (--work-tree)
was being stored in the config file, which ended up causing the problem.
Duy thinks he can fix this, which is fine, but as a matter of principle,
I'm not keen on command line switches being magically saved for me when
I didn't ask for this to happen.
You were initializing a repository. How on earth could you be surprised
when _important_ things like work-tree git-dir or if it is bare are stored
inside the freshly initialized repository?
The reason for using a command line switch is because I want to override
default behaviour on this execution, if I wanted to change the default
behaviour, then I'd set values in the config file.
No, you would not. Because there is no config file yet.
Htrh,
Dscho