Browse Source

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>
maint
Michael Haggerty 13 years ago committed by Junio C Hamano
parent
commit
63c694534b
  1. 8
      builtin/fetch-pack.c
  2. 12
      fetch-pack.h

8
builtin/fetch-pack.c

@ -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

@ -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

Loading…
Cancel
Save