diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-02-20 01:36:30 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-02-23 00:57:13 -0800 |
commit | 5253dc33b713e3de63a25305bfc5e966999a0fbe (patch) | |
tree | c5568c94ca7a689a4c234798223165140aad7c89 /interpolate.h | |
parent | 1a97a506043691741f25e8967e76123c1114d1fb (diff) | |
download | git-5253dc33b713e3de63a25305bfc5e966999a0fbe.tar.gz |
git-svn: ensure we're at the top-level and can access $GIT_DIR
If we are run inside a subdirectory of a working tree, we'll
chdir to the top first before touching anything. This also
prevents the accidental creation of .git directories inside
subdirectories since they need metadata.
Noticed by maio on #git
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'interpolate.h')
0 files changed, 0 insertions, 0 deletions