git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] upload-pack: fix a sparse '0 as NULL pointer' warning
@ 2020-06-15 23:00 Ramsay Jones
  0 siblings, 0 replies; only message in thread
From: Ramsay Jones @ 2020-06-15 23:00 UTC (permalink / raw)
  To: Jonathan Tan; +Cc: GIT Mailing-list


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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-15 23:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 23:00 [PATCH] upload-pack: fix a sparse '0 as NULL pointer' warning Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).