mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
fetch_pack(): reindent function decl and defn
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
07c19e72c5
commit
63c694534b
@@ -1082,10 +1082,10 @@ static int compare_heads(const void *a, const void *b)
|
|||||||
struct ref *fetch_pack(struct fetch_pack_args *my_args,
|
struct ref *fetch_pack(struct fetch_pack_args *my_args,
|
||||||
int fd[], struct child_process *conn,
|
int fd[], struct child_process *conn,
|
||||||
const struct ref *ref,
|
const struct ref *ref,
|
||||||
const char *dest,
|
const char *dest,
|
||||||
int nr_heads,
|
int nr_heads,
|
||||||
char **heads,
|
char **heads,
|
||||||
char **pack_lockfile)
|
char **pack_lockfile)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
struct ref *ref_cpy;
|
struct ref *ref_cpy;
|
||||||
|
|||||||
12
fetch-pack.h
12
fetch-pack.h
@@ -18,11 +18,11 @@ struct fetch_pack_args {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct ref *fetch_pack(struct fetch_pack_args *args,
|
struct ref *fetch_pack(struct fetch_pack_args *args,
|
||||||
int fd[], struct child_process *conn,
|
int fd[], struct child_process *conn,
|
||||||
const struct ref *ref,
|
const struct ref *ref,
|
||||||
const char *dest,
|
const char *dest,
|
||||||
int nr_heads,
|
int nr_heads,
|
||||||
char **heads,
|
char **heads,
|
||||||
char **pack_lockfile);
|
char **pack_lockfile);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user