replace_object: convert struct replace_object to object_id
[gitweb.git] / sequencer.c
index c8160e974d7ee6bcef8cb26c098decf616413c2c..c994392caf63b77407306e7bece845d2c52f8ac3 100644 (file)
@@ -282,7 +282,7 @@ struct commit_message {
 
 static const char *short_commit_name(struct commit *commit)
 {
-       return find_unique_abbrev(commit->object.oid.hash, DEFAULT_ABBREV);
+       return find_unique_abbrev(&commit->object.oid, DEFAULT_ABBREV);
 }
 
 static int get_message(struct commit *commit, struct commit_message *out)