summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRemi Rampin <remirampin@gmail.com>2015-03-06 11:21:52 -0500
committerPat Thoyts <patthoyts@users.sourceforge.net>2015-03-07 12:28:58 +0000
commitcc6825e194c86382068548354faa43839410a8d3 (patch)
tree60bfbd68258c484be5e05751cd686691120601db /builtin/commit.c
parentce3e848b409a6ba30fe9e12354f309424ac247cd (diff)
downloadgit-cc6825e194c86382068548354faa43839410a8d3.tar.gz
git-gui: Fixes chooser not accepting gitfiles
Support the case where .git is a platform independent symbolic link and not a directory. This occurs when --separate-git-dir is used when creating the local repository to store the .git directory elsewhere. git-gui does not support such repositories when using the repository chooser as the test to determine that the chosen directory is a git repository fails for such repositories. This commit enables _is_git to read the real location from the symbolic link file. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Remi Rampin <remirampin@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions