Commit efa2b6f7f70fe602a9b33db56006e6783b2ee7d9

Stefan Sperling 2019-05-14T13:52:17

another typo fix

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index b0e757b..b4af862 100644
--- a/got/got.c
+++ b/got/got.c
@@ -326,7 +326,7 @@ check_linear_ancestry(struct got_object_id *commit_id,
 	 *
 	 * '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)