Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

Re: [PATCH] disable grafts during fetch/push/bundle

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:00:11

On Tue, Mar 4, 2014 at 12:48 PM, Jeff King [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/commit.c b/commit.c
index 6bf4fe0..886dbfe 100644
--- a/commit.c
+++ b/commit.c
@@ -114,6 +114,11 @@ static unsigned long parse_commit_date(const char *buf, const char *tail)
 static struct commit_graft **commit_graft;
 static int commit_graft_alloc, commit_graft_nr;

+int commit_grafts_loaded(void)
+{
+       return !!commit_graft_nr;
+}
Did you mean !!commit_graft ?
 static int commit_graft_pos(const unsigned char *sha1)
 {
        int lo, hi;
--
1.8.5.2.500.g8060133
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help