diff options
author | Brad King <brad.king@kitware.com> | 2013-08-30 14:12:00 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-30 14:57:28 -0700 |
commit | 9bbb0fa1fdc6c413b1f35c26e090515e5d0096aa (patch) | |
tree | 45d0c317ec200f7c9e61e5a7dff1fda5a88aba42 /builtin/commit.c | |
parent | 2be778a8ac557931c270fb09fa6b4b3c4ec0729c (diff) | |
download | git-9bbb0fa1fdc6c413b1f35c26e090515e5d0096aa.tar.gz |
refs: report ref type from lock_any_ref_for_update
Expose lock_ref_sha1_basic's type_p argument to callers of
lock_any_ref_for_update. Update all call sites to ignore it by passing
NULL for now.
Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 10acc53f80..be08f4153e 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1618,7 +1618,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix) !current_head ? NULL : current_head->object.sha1, - 0); + 0, NULL); nl = strchr(sb.buf, '\n'); if (nl) |