summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorLibravatar Deskin Miller <deskinm@umich.edu>2008-11-06 00:07:39 -0500
committerLibravatar Eric Wong <normalperson@yhbt.net>2008-11-06 01:39:41 -0800
commit6e5121f26e95af02d2bbd6a982e44f16e74a67ce (patch)
treef945fed09aee92123cf4153be698e66004a3d0ec /.gitattributes
parentgit-svn: respect i18n.commitencoding config (diff)
downloadtgif-6e5121f26e95af02d2bbd6a982e44f16e74a67ce.tar.xz
git-svn: proper detection of bare repositories
When in a bare repository (or .git, for that matter), git-svn would fail to initialise properly, since git rev-parse --show-cdup would not output anything. However, git rev-parse --show-cdup actually returns an error code if it's really not in a git directory. Fix the issue by checking for an explicit error from git rev-parse, and setting $git_dir appropriately if instead it just does not output. Signed-off-by: Deskin Miller <deskinm@umich.edu> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions