Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS X "Meld" wrapper script does not accept "--output <filename>" #42

Closed
davvid opened this issue Jun 19, 2017 · 2 comments
Closed

macOS X "Meld" wrapper script does not accept "--output <filename>" #42

davvid opened this issue Jun 19, 2017 · 2 comments

Comments

@davvid
Copy link

davvid commented Jun 19, 2017

meld itself uses optparse and accepts both --output=<filename> and --output <filename>.

The Meld wrapper script only accepts the former. It should accept the latter form as well.

This issue was originally reported to the Git project[1].

Git may work around the issue in a future version[2], but all Git versions going back to v1.7.7 use --output <filename>, so there's still probably a fair amount of users that would benefit from a fix.

[1] https://public-inbox.org/git/20170619021033.22968-1-davvid@gmail.com/
[2] https://public-inbox.org/git/20170619021033.22968-1-davvid@gmail.com/

gitster pushed a commit to git/git that referenced this issue Jun 19, 2017
The macOS X fork of Meld[1] requires a "=" in the "--output"
argument, as it uses a wrapper[2] script that munges the
"--output" argument before calling into the common "meld"
script.

The macOS X wrapper script[2] accepts "--output=<filename>"
only, despite the fact that the underlying meld code accepts
both "--output <filename" and "--output=<filename>"[3].

All versions of meld which accept "--output" accept it in
the "--output=<filename>" form, so use "--output=<file>" for
maximum compatibility.

[1] https://github.com/yousseb/meld
[2] https://github.com/yousseb/meld/blob/master/osx/Meld
[3] yousseb/meld#42

Reported-by: Matthew Groth <mgroth49@gmail.com>
Helped-by: Samuel Lijin <sxlijin@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
@yousseb
Copy link
Owner

yousseb commented Dec 2, 2018

https://github.com/yousseb/meld/releases/tag/osx-11
Should (hopefully) fix this issue

@yousseb
Copy link
Owner

yousseb commented Dec 16, 2018

https://github.com/yousseb/meld/releases/tag/osx-13 definitely fixes this issue after the removal of the wrapper script.

@yousseb yousseb closed this as completed Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants