summaryrefslogtreecommitdiff
path: root/fetch.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-24 16:42:38 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-24 16:42:38 -0700
commit84c667ff97da2a3864ef7952b9f438d133ce35ef (patch)
tree6e4860856d7f1494303658fb2e5e4b96007604e9 /fetch.h
parentClean up sha1 file writing (diff)
downloadtgif-84c667ff97da2a3864ef7952b9f438d133ce35ef.tar.xz
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;