]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-bitmap-write.c
am: avoid directory rename detection when calling recursive merge machinery
[thirdparty/git.git] / pack-bitmap-write.c
index 72d9daec7e62bb924940c4e20763effaa347ea5c..7b2dc3e7dc768a2d2405a9ae3b1d13f86069a93d 100644 (file)
@@ -477,7 +477,7 @@ static void write_selected_commits_v1(struct hashfile *f,
                        sha1_pos(stored->commit->object.oid.hash, index, index_nr, sha1_access);
 
                if (commit_pos < 0)
-                       die("BUG: trying to write commit not in index");
+                       BUG("trying to write commit not in index");
 
                hashwrite_be32(f, commit_pos);
                hashwrite_u8(f, stored->xor_offset);