shallow.c: extend setup_*_shallow() to accept extra shallow commits
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b06dcd7d68
commit
1a30f5a2f2
@ -84,7 +84,7 @@ static void create_pack_file(void)
|
||||
char *shallow_file = NULL;
|
||||
|
||||
if (shallow_nr) {
|
||||
shallow_file = setup_temporary_shallow();
|
||||
shallow_file = setup_temporary_shallow(NULL);
|
||||
argv[arg++] = "--shallow-file";
|
||||
argv[arg++] = shallow_file;
|
||||
}
|
||||
|
Reference in New Issue
Block a user