Jason R. Coombs 560a79727f repo: Use the worktree when checking the repo rev.
Avoids treating the operation as if it were acting on a bare repository, thereby triggering failures when the Git client is configured with `safe.bareRepository=explicit`. Repo doesn't actually use a bare repository, but pointing at the gitdir acts as if it had.

Bug: 307559774
Change-Id: I2c142275b2726a59526729c0b2c54faf728f125d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/391554
Commit-Queue: Jason R. Coombs <jaraco@google.com>
Tested-by: Jason R. Coombs <jaraco@google.com>
Tested-by: Emily Shaffer <emilyshaffer@google.com>
Reviewed-by: Emily Shaffer <emilyshaffer@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
2023-11-13 18:21:31 +00:00
..
2023-08-22 18:32:22 +00:00
2023-09-14 17:13:37 +00:00
2023-09-14 17:13:37 +00:00
2023-09-14 17:13:37 +00:00
2023-10-13 19:34:26 +00:00
2023-09-14 17:13:37 +00:00
2023-09-14 17:13:37 +00:00
2023-08-22 18:32:22 +00:00
2023-10-13 19:34:26 +00:00