diff options
| author | Jonathan Nieder <jrnieder@gmail.com> | 2010-07-24 06:20:15 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-07-25 22:09:11 -0700 |
| commit | 93a00542eaeb40c31b4de2497f5413a2fc0f36f4 (patch) | |
| tree | fd50299c17606e237f5149e1bcd94a8a61fd065c /builtin/commit-tree.c | |
| parent | setup: split off $GIT_DIR-set case from setup_git_directory_gently (diff) | |
| download | git-93a00542eaeb40c31b4de2497f5413a2fc0f36f4.tar.gz git-93a00542eaeb40c31b4de2497f5413a2fc0f36f4.zip | |
setup: split off a function to checks working dir for .git file
The repository discovery procedure looks something like this:
while (same filesystem) {
check .git in working dir
check .
chdir(..)
}
Add a function for the first step to make the actual code look a bit
closer to that pseudocode.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
