Skip to content
Commit f914edca authored by Mike Frysinger's avatar Mike Frysinger Committed by David Pursehouse
Browse files

project: unify HEAD path management

Add a helper function to unify the duplication of finding the full
path to the symbolic HEAD ref.  This makes it easy to handle git
worktrees where .git is a file rather than a dir/symlink.

Bug: https://crbug.com/gerrit/11486
Change-Id: I9f794f1295ad0d98c7c13622f01ded51e4ba7846
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254074


Tested-by: default avatarMike Frysinger <vapier@google.com>
Reviewed-by: default avatarDavid Pursehouse <dpursehouse@collab.net>
parent e7c91889
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment