Skip to content

Rearrange xcalloc arguments

Brian Gesiak git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15builtin/add.c: rearrange xcalloc argumentsbuiltin/add.c+1 -19 replies
2/15builtin/ls-remote.c: rearrange xcalloc argumentsbuiltin/ls-remote.c+1 -10 replies
3/15builtin/remote.c: rearrange xcalloc argumentsbuiltin/remote.c+4 -40 replies
4/15commit.c: rearrange xcalloc argumentscommit.c+1 -10 replies
5/15config.c: rearrange xcalloc argumentsconfig.c+2 -20 replies
6/15diff.c: rearrange xcalloc argumentsdiff.c+1 -10 replies
7/15hash.c: rearrange xcalloc argumentshash.c+1 -10 replies
8/15hash.h: rearrange xcalloc argumentshash.h+1 -10 replies
9/15http-push.c: rearrange xcalloc argumentshttp-push.c+1 -10 replies
10/15imap-send.c: rearrange xcalloc argumentsimap-send.c+1 -11 reply
11/15notes.c: rearrange xcalloc argumentsnotes.c+3 -30 replies
12/15pack-revindex.c: rearrange xcalloc argumentspack-revindex.c+1 -10 replies
13/15reflog-walk.c: rearrange xcalloc argumentsreflog-walk.c+4 -40 replies
14/15remote.c: rearrange xcalloc argumentsremote.c+1 -10 replies
15/15transport-helper.c: rearrange xcalloc argumentstransport-helper.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] Rearrange xcalloc arguments

xcalloc takes two arguments: the number of elements and their size. The vast majority of the Git codebase passes these arguments in the correct order, but there are some exceptions. This patch series corrects those exceptions.

Brian Gesiak (15):
builtin/add.c: rearrange xcalloc arguments builtin/ls-remote.c: rearrange xcalloc arguments builtin/remote.c: rearrange xcalloc arguments commit.c: rearrange xcalloc arguments config.c: rearrange xcalloc arguments diff.c: rearrange xcalloc arguments hash.c: rearrange xcalloc arguments hash.h: rearrange xcalloc arguments http-push.c: rearrange xcalloc arguments imap-send.c: rearrange xcalloc arguments notes.c: rearrange xcalloc arguments pack-revindex.c: rearrange xcalloc arguments reflog-walk.c: rearrange xcalloc arguments remote.c: rearrange xcalloc arguments transport-helper.c: rearrange xcalloc arguments

builtin/add.c       | 2 +-
builtin/ls-remote.c | 2 +-
builtin/remote.c    | 8 ++++----
commit.c            | 2 +-
config.c            | 4 ++--
diff.c              | 2 +-
hash.c              | 2 +-
hash.h              | 2 +-
http-push.c         | 2 +-
imap-send.c         | 2 +-
notes.c             | 6 +++---
pack-revindex.c     | 2 +-
reflog-walk.c       | 8 ++++----
remote.c            | 2 +-
transport-helper.c  | 2 +-
15 files changed, 24 insertions(+), 24 deletions(-)
Signature · 1 line
2.0.0.rc1.543.gc8042da