summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-24 09:40:14 +0200
committerJunio C Hamano <junkio@cox.net>2005-08-25 01:50:53 +0200
commitff27adf3dae36695f1af1b6f0e01ec6738ce0249 (patch)
tree676ccf3206efd6b7335a630185b08211c16b2918 /cache.h
parent[PATCH] Allow "+remote:local" refspec to cause --force when fetching. (diff)
downloadgit-ff27adf3dae36695f1af1b6f0e01ec6738ce0249.tar.xz
git-ff27adf3dae36695f1af1b6f0e01ec6738ce0249.zip
Support +<src>:<dst> format in push as well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index ba5c4ab7ee..1478631b40 100644
--- a/cache.h
+++ b/cache.h
@@ -309,6 +309,7 @@ struct ref {
struct ref *next;
unsigned char old_sha1[20];
unsigned char new_sha1[20];
+ unsigned char force;
struct ref *peer_ref; /* when renaming */
char name[0];
};