lock_ref_sha1_basic(): remember the original name of a ref when resolving it
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 2d2ba149abbb69c796307113b7de917d579b5b5c..94a58b41fbf3b3de81a7133c2db404338093758d 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -3,6 +3,7 @@
 
 struct ref_lock {
        char *ref_name;
+       char *orig_ref_name;
        struct lock_file *lk;
        unsigned char old_sha1[20];
        int lock_fd;