Commit Diff
--- got/got.c +++ got/got.c @@ -395,6 +395,8 @@ cmd_update(int argc, char *argv[]) if (error != NULL) 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) {