commit 35c965b2755aaf9dc232228d76d19cb2e8907d9a from: Stefan Sperling date: Sat Dec 29 16:22:33 2018 UTC add a TODO comment commit - 8c18682195f1b93d18f6e64cc1ca5b88f8ff1855 commit + 35c965b2755aaf9dc232228d76d19cb2e8907d9a blob - f30a565423e2fd7aec14a44efb6c6c6e1726f4a1 blob + 9e9dfd9ecd25f2570ce974d906a9f376a022448d --- 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) {