make in Cygwin stomps files in .git/hooks/

Marc timepilot3000 at gmail.com
Tue Oct 8 16:59:14 UTC 2024


Hi,

I'm on Windows using Cygwin to build LibreOffice. When I "make", the files
in .git/hooks/
  commit-msg  post-merge  pre-commit  README
are overwritten with 0 byte files. This causes "git commit" (using
SourceTree) to fail: "Commit: cannot spawn .git/hooks/pre-commit: No such
file or directory." Launching cygwin.bat as admin doesn't help.

Any ideas how I can fix this?

Thanks,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20241008/79c1224c/attachment.htm>


More information about the LibreOffice mailing list