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 /builtin-prune.c | |
parent | git-svn: give show-ignore HEAD smarts, like dcommit and log (diff) | |
download | tgif-5253dc33b713e3de63a25305bfc5e966999a0fbe.tar.xz |
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 'builtin-prune.c')
0 files changed, 0 insertions, 0 deletions