X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=f1c07816e01bb0b1ad93d7665b1374e8cd36e6cb;hb=c2e86addb86689306b992065328ec52aa2479658;hp=00786606117feea4b33b7e632b8ff8a3c26de4e4;hpb=0c30ed0cb57988378d721d817c55f74a93dffb13;p=git.git diff --git a/transport.c b/transport.c index 007866061..f1c07816e 100644 --- a/transport.c +++ b/transport.c @@ -192,7 +192,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 = {0}, *tail = &dummy; + struct ref dummy = {NULL}, *tail = &dummy; struct child_process rsync; const char *args[5]; int temp_dir_len;