commit - d5751d4985013dcdf3f21fa94aa412d3d6fee89e
commit + efa2b6f7f70fe602a9b33db56006e6783b2ee7d9
blob - b0e757b59e52eddbb7d8a773bf93d16a2fb90c73
blob + b4af86251f09f27f3c1a0a121b7a66d9b07da341
--- got/got.c
+++ got/got.c
*
* 'got update' only handles linear cases:
* Update forwards in time: A (base/yca) - B - C - D (commit)
- * Update backwards in time: D (base) - C - D - A (commit/yca)
+ * Update backwards in time: D (base) - C - B - A (commit/yca)
*/
if (got_object_id_cmp(commit_id, yca_id) != 0 &&
got_object_id_cmp(base_commit_id, yca_id) != 0)