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:
authorJunio C Hamano <junkio@cox.net>2006-05-25 03:42:38 +0400
committerJunio C Hamano <junkio@cox.net>2006-05-25 03:42:38 +0400
commit84c667ff97da2a3864ef7952b9f438d133ce35ef (patch)
tree6e4860856d7f1494303658fb2e5e4b96007604e9 /fetch.h
parent4d548150ace0816dd5fe678cdbde75b13d5e5249 (diff)
fetch.c: remove an unused variable and dead code.
Funnily enough, this variable was never assigned ever since it was introduced, and has been protecting some code that has never been executed. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch.h')
-rw-r--r--fetch.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fetch.h b/fetch.h
index 9837a3d035..001a6b8e2d 100644
--- a/fetch.h
+++ b/fetch.h
@@ -25,9 +25,6 @@ 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, the hash that the current value of write_ref must be. */
-extern const unsigned char *current_ref;
-
/* Set to fetch the target tree. */
extern int get_tree;