Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
expire_reflog(): pass flags through to expire_reflog_ent()
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 9ee66d4eb29e4e77f8dcb874a6d72cbef789a1de..08867a28910864ce077c2dbd353e2bba70218407 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-51,6
+51,7
@@
struct expire_reflog_policy_cb {
};
struct expire_reflog_cb {
+ unsigned int flags;
void *policy_cb;
};
@@
-435,6
+436,7
@@
static int expire_reflog(const char *refname, const unsigned char *sha1,
memset(&cb, 0, sizeof(cb));
memset(&policy_cb, 0, sizeof(policy_cb));
+ cb.flags = flags;
cb.policy_cb = &policy_cb;
/*