commit | 5253dc33b713e3de63a25305bfc5e966999a0fbe | [log] [tgz] |
---|---|---|
author | Eric Wong <normalperson@yhbt.net> | Tue Feb 20 01:36:30 2007 -0800 |
committer | Eric Wong <normalperson@yhbt.net> | Fri Feb 23 00:57:13 2007 -0800 |
tree | c5568c94ca7a689a4c234798223165140aad7c89 | |
parent | 1a97a506043691741f25e8967e76123c1114d1fb [diff] |
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>