git-annex/doc/bugs/Windows_build_has_hardcoded_paths.mdwn

39 lines
1.3 KiB
Markdown

### Please describe the problem.
The windows build seems to be hardcoded to finding git at c:\program files\Git\
I have git in another directory. Git-annex does not find it.
### What steps will reproduce the problem?
Install git-annex. Run the webapp.
Get error "Internal Server Error
You need to install git in order to use git-annex!"
### What version of git-annex are you using? On what operating system?
5.20140817-g71c2250.
Windows XP.
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
[[!meta title="git-annex on windows does not find msgit if user does not let msysgit add itsselt to PATH"]]
> I don't think it's any better for git-annex's installer to prompt for the
> path to git, than it is for msysgit's installer to prompt for adding it
> to the system path.
>
> The best fix would be to bundle msysgit into the git-annex installer
> along with all the other stuff. But, that adds build-time complications
> I would rather avoid.
>
> For now, I am going to treat this as a documentation problem;
> I've updated the install page to be clear that msysgit needs to be
> installed into PATH. [[done]] --[[Joey]]