You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After opening up up PortableGit (using a git-bash.bat file to keep the settings portable per http://stackoverflow.com/a/3455231/647393 - which by the way should be standard for PortableGit IMO), I found that my $PATH looks like this:
//bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Misc/ConEmu/ConEmu:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/c/Program Files (x86)/Heroku/bin:/c/Program Files (x86)/git/cmd:/c/Program Files (x86)/Java/jre7/bin: C:/Misc/PortablePython-2.7.5.1/App/Scripts
The last path looks different than the rest and therefore doesn't work, and I don't know why. The last two are both part of the user PATH environment variable in Windows 7 but the Java one doesn't get converted into C:/ rather than /c/.
If you change your windows path to not contain a space before each path component, i.e. c:\Misc\... instead of c:\Misc\... does it work then?
The $PATH in bash is created as concatenation of the windows paths, converted from c:\a;c:\b to /c/a:/c/b, and the paths internally set, .:/usr/local/bin:/mingw/bin:/bin.
It looks strange that the first part of $PATH starts with //bin, but that should not matter IIRC.
t-b: actually that fixed it! duh. thanks.
dscho: if you agree, maybe you should open it. it was my interpretation that this was already proposed and rejected by the developers. see dgw's comment at SO: "I asked, and was told it wouldn't be added".
should I open another issue about ,bash_profile working and ,bashrc not working, or has this question already been addressed?
also, where is PortableGit? I can't seem to find a place to download it even though I know I did before. did it get taken down? I seriously think that even with the prominent FAQ on the relationship between msysgit and this project, there's a confusing mix of things going on here.
Activity
t-b commentedon Oct 23, 2014
If you change your windows path to not contain a space before each path component, i.e.
c:\Misc\...instead ofc:\Misc\...does it work then?The $PATH in bash is created as concatenation of the windows paths, converted from
c:\a;c:\bto/c/a:/c/b, and the paths internally set,.:/usr/local/bin:/mingw/bin:/bin.It looks strange that the first part of $PATH starts with
//bin, but that should not matter IIRC.dscho commentedon Oct 23, 2014
Please open a separate Pull Request to allow discuss these changes.
cluelesscoder commentedon Oct 23, 2014
t-b: actually that fixed it! duh. thanks.
dscho: if you agree, maybe you should open it. it was my interpretation that this was already proposed and rejected by the developers. see dgw's comment at SO: "I asked, and was told it wouldn't be added".
should I open another issue about ,bash_profile working and ,bashrc not working, or has this question already been addressed?
also, where is PortableGit? I can't seem to find a place to download it even though I know I did before. did it get taken down? I seriously think that even with the prominent FAQ on the relationship between msysgit and this project, there's a confusing mix of things going on here.
dscho commentedon Oct 29, 2014
dscho commentedon Oct 29, 2014
@cluelesscoder I will keep in mind that if I ever am in need for any suggestion how to fill my abundant free time, I will ask you :-P
init: remove git_init_db_config() while fixing leaks
init: remove git_init_db_config() while fixing leaks
revision: free remainder of old commit list in limit_list
bulk-checkin: make buffer reuse more obvious and safer
split-index: use oideq instead of memcmp to compare object_id's
split-index: use oideq instead of memcmp to compare object_id's
convert: release strbuf to avoid leak
sparse index: fix use-after-free bug in cache_tree_verify()
24 remaining items
bulk-checkin: fix segfault with unsafe SHA1 backend
Fix rare segfault in sparse-index (git-for-windows#690)
Fix rare segfault in sparse-index (git-for-windows#690)
Fix rare segfault in sparse-index (git-for-windows#690)
Fix rare segfault in sparse-index (git-for-windows#690)
Fix rare segfault in sparse-index (#690)
builtin/gc: fix condition for whether to write commit graphs
odb: properly close sources before freeing them
builtin/gc: fix condition for whether to write commit graphs
odb: properly close sources before freeing them
Fix rare segfault in sparse-index (git-for-windows#690)
builtin/gc: fix condition for whether to write commit graphs
odb: properly close sources before freeing them
Fix rare segfault in sparse-index (#690)
builtin/history: unuse the commit buffer after use