diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-17 02:30:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-17 02:30:18 +0100 |
commit | 561197238ef95b126b5ff16780250d492ad24233 (patch) | |
tree | f9f0d9ef6ad855b0bff945195e4dfaf70c4d8b42 /transport.c | |
parent | Merge branch 'cc/reset-more' (diff) | |
parent | Fix uninitialized variable in get_refs_via_rsync(). (diff) | |
download | git-561197238ef95b126b5ff16780250d492ad24233.tar.xz git-561197238ef95b126b5ff16780250d492ad24233.zip |
Merge branch 'maint'
* maint:
Fix uninitialized variable in get_refs_via_rsync().
Document git-blame triple -C option
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index b5332c018b..3b489b392b 100644 --- a/transport.c +++ b/transport.c @@ -143,7 +143,7 @@ static const char *rsync_url(const char *url) static struct ref *get_refs_via_rsync(struct transport *transport, int for_push) { struct strbuf buf = STRBUF_INIT, temp_dir = STRBUF_INIT; - struct ref dummy, *tail = &dummy; + struct ref dummy = {0}, *tail = &dummy; struct child_process rsync; const char *args[5]; int temp_dir_len; |