Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
conditional markdown preprocessing
[gitweb.git]
/
builtin
/
replace.c
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 644b21ca8d57a75fa83ecbf0e58dd07a685cd9e4..2a4afb3b932c79a1ed04bdd283d810813d5c4a66 100644
(file)
--- a/
builtin/replace.c
+++ b/
builtin/replace.c
@@
-421,7
+421,7
@@
static int check_one_mergetag(struct commit *commit,
if (get_oid(mergetag_data->argv[i], &oid) < 0)
return error(_("not a valid object name: '%s'"),
mergetag_data->argv[i]);
- if (oideq(
&tag->tagged->oid
, &oid))
+ if (oideq(
get_tagged_oid(tag)
, &oid))
return 0; /* found */
}