Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
simplify the "no changes added to commit" message
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index c527bf9e9621519f72e1039313666a03ee12c586..1530a947947b68d879e01bb9161654e135716a3d 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-625,6
+625,8
@@
static int remove_duplicates(int nr_heads, char **heads)
return dst;
}
+static struct lock_file lock;
+
int main(int argc, char **argv)
{
int i, ret, nr_heads;
@@
-632,7
+634,6
@@
int main(int argc, char **argv)
int fd[2];
pid_t pid;
struct stat st;
- struct lock_file lock;
setup_git_directory();