summaryrefslogtreecommitdiff
path: root/peek-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'peek-remote.c')
-rw-r--r--peek-remote.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/peek-remote.c b/peek-remote.c
index ee49bf3b7b..a90cf22069 100644
--- 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];