diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-03-12 03:27:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 17:23:48 +0100 |
commit | aab9583f7b5ea5463eb3f653a0b4ecac7539dc94 (patch) | |
tree | 8a35067c58e60715b459d7c2e44bbae71344d657 /builtin/branch.c | |
parent | wt-status: convert struct wt_status_state to object_id (diff) | |
download | git-aab9583f7b5ea5463eb3f653a0b4ecac7539dc94.tar.xz git-aab9583f7b5ea5463eb3f653a0b4ecac7539dc94.zip |
Convert find_unique_abbrev* to struct object_id
Convert find_unique_abbrev and find_unique_abbrev_r to each 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/branch.c')
-rw-r--r-- | builtin/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index 8dcc2ed058..659deb36f3 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -273,7 +273,7 @@ static int delete_branches(int argc, const char **argv, int force, int kinds, bname.buf, (flags & REF_ISBROKEN) ? "broken" : (flags & REF_ISSYMREF) ? target - : find_unique_abbrev(oid.hash, DEFAULT_ABBREV)); + : find_unique_abbrev(&oid, DEFAULT_ABBREV)); } delete_branch_config(bname.buf); |