Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch: don't redundantly NULL something calloc() gave us
[gitweb.git]
/
builtin
/
fetch.c
diff --git
a/builtin/fetch.c
b/builtin/fetch.c
index 7bbcd26faf1fe650ccc7dbbd526db5114aac0c8f..b34665db9e407ec3cdc8ecd9badda068927dcd20 100644
(file)
--- a/
builtin/fetch.c
+++ b/
builtin/fetch.c
@@
-1302,7
+1302,6
@@
static int fetch_one(struct remote *remote, int argc, const char **argv)
} else
refs[j++] = argv[i];
}
- refs[j] = NULL;
ref_nr = j;
}