Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Split up builtin commands into separate files from git.c
[gitweb.git]
/
peek-remote.c
diff --git
a/peek-remote.c
b/peek-remote.c
index ee49bf3b7b123359153a961c56f5aa3d58515864..a90cf2206925ff51b7e8c799b22c8e6cb09c7fc2 100644
(file)
--- a/
peek-remote.c
+++ b/
peek-remote.c
@@
-27,6
+27,9
@@
int main(int argc, char **argv)
char *dest = NULL;
int fd[2];
pid_t pid;
+ int nongit = 0;
+
+ setup_git_directory_gently(&nongit);
for (i = 1; i < argc; i++) {
char *arg = argv[i];