summaryrefslogtreecommitdiff
path: root/doc/bugs/Windows_build_has_hardcoded_paths.mdwn
blob: 199d00b034a0a909b5363e1df9e2ed931eebf78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
### 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]]