summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-29 13:13:38 -0700
committerRussell Belfer <rb@github.com>2013-07-10 12:14:13 -0700
commit3fe046cfdba414f69b09e76da2a550be96eeab7e (patch)
treecc00cde8b45f49aa13d55caf80803c90c4f5b13b /src/commit.c
parent302a04b09ca706eeda9b8cceb50694f37973e348 (diff)
downloadlibgit2-3fe046cfdba414f69b09e76da2a550be96eeab7e.tar.gz
Add BARE option to git_repository_open_ext
This adds a BARE option to git_repository_open_ext which allows a fast open path that still knows how to read gitlinks and to search for the actual .git directory from a subdirectory. `git_repository_open_bare` is still simpler and faster, but having a gitlink aware fast open is very useful for submodules where we want to quickly be able to peek at the HEAD and index data without doing any other meaningful repo operations.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions