diff options
author | Remy Bohmer <github@bohmer.net> | 2020-11-20 21:19:10 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-11-20 20:53:43 +0000 |
commit | 44bc9643ed1b53ef72a0f4089c80ca8ef7310c7a (patch) | |
tree | 87d9dc77c608ca45a98cbb4deb17911730535dd6 /hooks.py | |
parent | d7f8683daf1d47bb060a1f054453be6779accede (diff) | |
download | git-repo-44bc9643ed1b53ef72a0f4089c80ca8ef7310c7a.tar.gz |
Always use Unix EOL for worktree .git and gitdir files
Worktree .git and gitdir reference files are written by Git with
Unix line ending, even on Windows & macOS. The conversion to
relative paths makes these files end with DOS line endings in
Windows. The Git integration in Visual Studio 2019 cannot deal
with these DOS line endings and considers these worktrees invalid.
Signed-off-by: Remy Bohmer <github@bohmer.net>
Change-Id: I088cfd994f3cc31db4e0ca7791fa0a4ee3ac222f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/289310
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'hooks.py')
0 files changed, 0 insertions, 0 deletions