summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-02-20 01:36:30 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2007-02-23 00:57:13 -0800
commit5253dc33b713e3de63a25305bfc5e966999a0fbe (patch)
treec5568c94ca7a689a4c234798223165140aad7c89 /show-index.c
parentgit-svn: give show-ignore HEAD smarts, like dcommit and log (diff)
downloadtgif-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 'show-index.c')
0 files changed, 0 insertions, 0 deletions