Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-05-19 11:29:26 +0400
committerJunio C Hamano <junkio@cox.net>2006-05-20 02:02:52 +0400
commitd0740d92beb019a7b02678e5acea79c0ff67e3ee (patch)
tree0e3e69c86d311f788dc0010ffbc369e4fa6a53d1 /fetch.h
parent732232a123e1e61e38babb1c572722bb8a189ba3 (diff)
Log ref updates made by fetch.
If a ref is changed by http-fetch, local-fetch or ssh-fetch record the change and the remote URL/name in the log for the ref. This requires loading the config file to check logAllRefUpdates. Also fixed a bug in the ref lock generation; the log file name was not being produced right due to a bad prefix length. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch.h')
-rw-r--r--fetch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fetch.h b/fetch.h
index 9837a3d035..0011548de8 100644
--- a/fetch.h
+++ b/fetch.h
@@ -25,6 +25,9 @@ extern int fetch_ref(char *ref, unsigned char *sha1);
/* If set, the ref filename to write the target value to. */
extern const char *write_ref;
+/* If set additional text will appear in the ref log. */
+extern const char *write_ref_log_details;
+
/* If set, the hash that the current value of write_ref must be. */
extern const unsigned char *current_ref;