babun / babun

Babun - a Windows shell you will love!
8.63k stars 552 forks source link

"pact update git" (to git-2.12.2-1) breaks git. #771

Open jruhe-adesso opened 7 years ago

jruhe-adesso commented 7 years ago

cygwin 2.8 needed?

/usr/bin/id: cannot find name for group ID 10513 /usr/bin/id: cannot find name for group ID 10513 WARNING: Git push strategy set to which is unsupported - changing to 'matching' ERROR: Cannot set git push.default to 'matching' - may cause problems... Error on or near line 16, last command 'trap 'catch_err "${previous_command}" ${LINENO}' ERR'; Error on or near line 4, last command 'source "$babun_tools/git.sh"'; Could not start plugin [git] { ~ } » ~ { ~ } » git --version ~ 1 { ~ } » git --help ~ 127 { ~ } » ~ 127 { ~ } »

jruhe-adesso commented 7 years ago

I succeeded in replacing babun's cygwin 1.7.35 by 1.8.0 using a modified babun update script. This made git work again but broke "pact update".

Giving up. Hope babun's maintainer will fix the issues.

flyisland commented 7 years ago

I have upgarded the git to 2.12.2 by running the ~/update.bat in windows command window.

kvrigor commented 7 years ago

I'm also having the same problem.. following @flyisland's solution resolved the issue

camaral commented 7 years ago

Running C:\Users\.babun\update.bat works indeed. Thanks @flyisland

fty4 commented 6 years ago

I had problems with git after the update:

WARNING: Git push strategy set to which is unsupported - changing to 'matching' ERROR: Cannot set git push.default to 'matching' - may cause problems... Could not start plugin [git]

But after uninstalling it with the following command, it worked again.

pact remove git

I think now babun uses the windows installation of git..

RobinH-J commented 6 years ago

This no longer appears to work:

Downloaded babun-1.2.0 and installed. Ran update.bat as @flyisland said, from windows Command.bat window. Inside Babun I check git version:

git --version git version 2.1.4

The latest git version is quite far away from this (2.16.1 at time of writing)

[edit: running anything like @fty4 's command "pact update git" or "pact remove git" breaks git in Bubun.]

dcpc007 commented 6 years ago

same here, after pact update git and restart babun : WARNING: Git push strategy set to which is unsupported - changing to 'matching' ERROR: Cannot set git push.default to 'matching' - may cause problems... Error on or near line 16, last command 'trap 'catch_err "${previous_command}" ${LINENO}' ERR'; Error on or near line 4, last command 'source "$babun_tools/git.sh"'; Could not start plugin [git]

Problem seems gone after using the update.bat from windows too

martyschaer commented 6 years ago

@dcpc007 I'm having this issue as well, have you found a fix? My permissions seem to be in order, but running any git command just does not produce any output. Using update.bat did not fix it.

dcpc007 commented 6 years ago

@martyschaer It seems that after another "unneeded" reboot of windows 10, the warning is gone .... I think i'll have other stations to install in the next days, I hope it doesn't happen again.