libgit2/tests/worktree
Patrick Steinhardt 84f56cb05a repository: rename path_repository and path_gitlink
The `path_repository` variable is actually confusing to think
about, as it is not always clear what the repository actually is.
It may either be the path to the folder containing worktree and
.git directory, the path to .git itself, a worktree or something
entirely different. Actually, the intent of the variable is to
hold the path to the gitdir, which is either the .git directory
or the bare repository.

Rename the variable to `gitdir` to avoid confusion. While at it,
also rename `path_gitlink` to `gitlink` to improve consistency.
2017-02-13 11:07:52 +01:00
..
config.c config: open configuration in commondir 2017-02-13 10:28:15 +01:00
merge.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
open.c repository: introduce is_worktree variable 2017-02-13 10:28:15 +01:00
reflog.c refdb: look for reflog in commondir 2017-02-13 10:28:15 +01:00
refs.c repository: restrict checking out checked out branches 2017-02-13 11:06:52 +01:00
repository.c worktree: implement functions reading HEAD 2017-02-13 11:03:01 +01:00
worktree_helpers.c tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree_helpers.h tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00