diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2016-09-05 20:08:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-07 12:59:42 -0700 |
commit | d449347d080cd97a9d6dc029014383d4817e34bf (patch) | |
tree | d64c39be3f1cd8f5833ac1a9dde0664de686a0bf /builtin/checkout.c | |
parent | e910bb1e79d53d43d07013b4d7e58c9f3ec53c8d (diff) | |
download | git-d449347d080cd97a9d6dc029014383d4817e34bf.tar.gz |
Convert read_mmblob to take struct object_id.
Since all of its callers have been updated, convert read_mmblob to take
a pointer to struct object_id.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index ec85af565a..13169221b1 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -195,9 +195,9 @@ static int checkout_merged(int pos, struct checkout *state) if (is_null_oid(&threeway[1]) || is_null_oid(&threeway[2])) return error(_("path '%s' does not have necessary versions"), path); - read_mmblob(&ancestor, threeway[0].hash); - read_mmblob(&ours, threeway[1].hash); - read_mmblob(&theirs, threeway[2].hash); + read_mmblob(&ancestor, &threeway[0]); + read_mmblob(&ours, &threeway[1]); + read_mmblob(&theirs, &threeway[2]); /* * NEEDSWORK: re-create conflicts from merges with |