diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-04-03 13:39:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-03 13:39:03 -0700 |
commit | 9c7d0cc62f10d4945e665614ca836a4a5c81593c (patch) | |
tree | 4d8a734760cb775bfd92414cad9fb2b179591142 /commit.h | |
parent | 6248be7678ad2c262a460c052ef4f28744e75cc4 (diff) | |
parent | 7839632167bc6ceef20f28bd046f7001493b070f (diff) | |
download | git-9c7d0cc62f10d4945e665614ca836a4a5c81593c.tar.gz |
Merge branch 'jk/shallow-update-fix' into maint
* jk/shallow-update-fix:
shallow: verify shallow file after taking lock
shallow: automatically clean up shallow tempfiles
shallow: use stat_validity to check for up-to-date file
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,7 +209,7 @@ extern int write_shallow_commits(struct strbuf *out, int use_pack_protocol, extern void setup_alternate_shallow(struct lock_file *shallow_lock, const char **alternate_shallow_file, const struct sha1_array *extra); -extern char *setup_temporary_shallow(const struct sha1_array *extra); +extern const char *setup_temporary_shallow(const struct sha1_array *extra); extern void advertise_shallow_grafts(int); struct shallow_info { |