Commit 35c965b2755aaf9dc232228d76d19cb2e8907d9a

Stefan Sperling 2018-12-29T17:22:33

add a TODO comment

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index f30a565..9e9dfd9 100644
--- a/got/got.c
+++ b/got/got.c
@@ -396,6 +396,8 @@ cmd_update(int argc, char *argv[])
 			goto done;
 	}
 
+	/* TODO: Ensure that we are staying on the current branch. */
+
 	if (got_object_id_cmp(got_worktree_get_base_commit_id(worktree),
 	    commit_id) != 0) {
 		error = got_worktree_set_base_commit_id(worktree, repo,