projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Do not call fetch() when we have it.
[git.git]
/
http-pull.c
diff --git
a/http-pull.c
b/http-pull.c
index
d877c4a
..
f693aba
100644
(file)
--- a/
http-pull.c
+++ b/
http-pull.c
@@
-53,10
+53,6
@@
int fetch(unsigned char *sha1)
char *url;
char *posn;
- if (has_sha1_file(sha1)) {
- return 0;
- }
-
local = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0666);
if (local < 0)