]> git.ipfire.org Git - thirdparty/git.git/commitdiff
pack.h: line-wrap the definition of finish_tmp_packfile()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 9 Sep 2021 03:24:47 +0000 (23:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Sep 2021 17:51:57 +0000 (10:51 -0700)
Line-wrap the definition of finish_tmp_packfile() to make subsequent
changes easier to read. See 0e990530ae (finish_tmp_packfile(): a
helper function, 2011-10-28) for the commit that introduced this
overly long line.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack.h

diff --git a/pack.h b/pack.h
index fa1395452624bfaf93bf86e88a4d12580ca77bee..1c17254c0a4c1d11981e5c3c3e562580bac57ce5 100644 (file)
--- a/pack.h
+++ b/pack.h
@@ -110,6 +110,11 @@ int encode_in_pack_object_header(unsigned char *hdr, int hdr_len,
 int read_pack_header(int fd, struct pack_header *);
 
 struct hashfile *create_tmp_packfile(char **pack_tmp_name);
-void finish_tmp_packfile(struct strbuf *name_buffer, const char *pack_tmp_name, struct pack_idx_entry **written_list, uint32_t nr_written, struct pack_idx_option *pack_idx_opts, unsigned char sha1[]);
+void finish_tmp_packfile(struct strbuf *name_buffer,
+                        const char *pack_tmp_name,
+                        struct pack_idx_entry **written_list,
+                        uint32_t nr_written,
+                        struct pack_idx_option *pack_idx_opts,
+                        unsigned char sha1[]);
 
 #endif