diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-26 17:08:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-26 17:08:19 -0700 |
commit | 0f7a8f2dba5aeb8ce8ab4a710a1d1310705f7f08 (patch) | |
tree | 9e417c713178925f99c36939cace0a726cf9d018 /index-pack.c | |
parent | 68daa64df2363f848d818dda9fc414511d9330da (diff) | |
parent | d0b92a3f6e4d98a38a86cbd86f0e39eea9005958 (diff) | |
download | git-0f7a8f2dba5aeb8ce8ab4a710a1d1310705f7f08.tar.gz |
Merge branch 'maint'
* maint:
index-pack: setup git repository
Suppress some bash redirection error messages
Fix a warning (on cygwin) to allow -Werror
Fix "git log -i --grep"
Diffstat (limited to 'index-pack.c')
-rw-r--r-- | index-pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/index-pack.c b/index-pack.c index 52064befdb..728af7da9c 100644 --- a/index-pack.c +++ b/index-pack.c @@ -876,7 +876,9 @@ int main(int argc, char **argv) char *index_name_buf = NULL, *keep_name_buf = NULL; struct pack_idx_entry **idx_objects; unsigned char sha1[20]; + int nongit = 0; + setup_git_directory_gently(&nongit); git_config(git_index_pack_config, NULL); for (i = 1; i < argc; i++) { |