git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
dd4b732
)
upload-pack: fix a sparse '0 as NULL pointer' warning
author
Ramsay Jones
<redacted>
Mon, 15 Jun 2020 23:00:20 +0000
(
00:00
+0100)
committer
Junio C Hamano
<redacted>
Wed, 17 Jun 2020 20:22:40 +0000
(13:22 -0700)
Signed-off-by: Ramsay Jones <redacted>
Signed-off-by: Junio C Hamano <redacted>
upload-pack.c
patch
|
blob
|
history
diff --git
a/upload-pack.c
b/upload-pack.c
index 764265ec404f537beaf61132e6f3cd7f898173b6..219e804dc13bea3af0a8b14f85658cc2d2cac3af 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-1254,7
+1254,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
);
}
}
git clone https://git.99rst.org/PROJECT