| Summary: | EGit no longer works after feature update on MAC | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Jens Baumgart <jens.baumgart> |
| Component: | Core | Assignee: | Chris Aniszczyk <caniszczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | caniszczyk, matthias.sohn, sop |
| Version: | 0.11 | ||
| Target Milestone: | 0.11 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Jens Baumgart
If this is true, this should block the 0.11 release. The code in question...
if (isMacOS()) {
// On MacOSX, PATH is shorter when Eclipse is launched from the
// Finder than from a terminal. Therefore try to launch bash as a
// login shell and search using that.
//
String w = readPipe(userHome(), //
new String[] { "bash", "--login", "-c", "which git" }, //
Charset.defaultCharset().name());
return new File(w).getParentFile().getParentFile();
}
The installation of git command line seems to be corrupted on my MAC. git is not found, "which git" does not find git. Nevertheless the code should be more rebust to avoid failing with NPE. Fix proposed: http://egit.eclipse.org/r/2461 Fix proposed: http://egit.eclipse.org/r/2469 Fixed in stable-0.11 Can we push something to master too? |