summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2012-11-29 19:41:35 -0600
committerJunio C Hamano <gitster@pobox.com>2012-12-02 01:43:28 -0800
commitffe81ef2ac5bcf83b9ab792e4d05ec95744a2fb6 (patch)
tree28460138cde6d8c772b7da3838336c20437574f3 /cache.h
parentb24e6047a8da3cddfd686e6a9157ed4bac28ed4f (diff)
downloadgit-ffe81ef2ac5bcf83b9ab792e4d05ec95744a2fb6.tar.gz
push: keep track of "update" state separately
If the reference exists on the remote and it is not being removed, then mark as an update. This is in preparation for handling tags (lightweight and annotated) exceptionally. Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 d72b64d8b0..722321c6da 100644
--- a/cache.h
+++ b/cache.h
@@ -1003,6 +1003,7 @@ struct ref {
merge:1,
nonfastforward:1,
not_forwardable:1,
+ update:1,
deletion:1;
enum {
REF_STATUS_NONE = 0,