From: Ramsay Jones <ramsay@ramsayjones.plus.com>
To: Jonathan Tan <jonathantanmy@google.com>
Cc: GIT Mailing-list <git@vger.kernel.org>
Subject: [PATCH] upload-pack: fix a sparse '0 as NULL pointer' warning
Date: Tue, 16 Jun 2020 00:00:20 +0100 [thread overview]
Message-ID: <494e000a-17a5-b730-b032-1fc0e8690c07@ramsayjones.plus.com> (raw)
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Jonathan,
If you need to re-roll your 'jt/cdn-offload' branch, could you please
squash this into the relevant patch (commit dd4b732df7 (upload-pack: send
part of packfile response as uri, 2020-06-10)).
Thanks!
ATB,
Ramsay Jones
upload-pack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upload-pack.c b/upload-pack.c
index b4fd85fb9a..951a2b23aa 100644
--- a/upload-pack.c
+++ b/upload-pack.c
@@ -1246,7 +1246,7 @@ void upload_pack(struct upload_pack_options *options)
receive_needs(&data, &reader);
if (data.want_obj.nr) {
get_common_commits(&data, &reader);
- create_pack_file(&data, 0);
+ create_pack_file(&data, NULL);
}
}
--
2.27.0
reply other threads:[~2020-06-15 23:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494e000a-17a5-b730-b032-1fc0e8690c07@ramsayjones.plus.com \
--to=ramsay@ramsayjones.plus.com \
--cc=git@vger.kernel.org \
--cc=jonathantanmy@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.