aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-26 16:09:21 -0700
committerJunio C Hamano <gitster@pobox.com>2016-09-26 16:09:21 -0700
commite683f17e6319b461def179b84d20dbcca546018a (patch)
tree83b8f3984ff989409a57073d754f3b42d75507a9 /cache.h
parent48b21818ca5069285145b2fdb98f2e355637bb06 (diff)
parent68e3d6292f27f123c072175748183c9cb9bc1c70 (diff)
downloadgit-e683f17e6319b461def179b84d20dbcca546018a.tar.gz
git-e683f17e6319b461def179b84d20dbcca546018a.tar.xz
Merge branch 'rs/checkout-init-macro'
Code cleanup. * rs/checkout-init-macro: introduce CHECKOUT_INIT
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 1a56f81f3..ed3d5dfce 100644
--- a/cache.h
+++ b/cache.h
@@ -1356,6 +1356,7 @@ struct checkout {
not_new:1,
refresh_cache:1;
};
+#define CHECKOUT_INIT { NULL, "" }
#define TEMPORARY_FILENAME_LENGTH 25
extern int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath);