Re: [PATCH/GSoC] parse-options: Add a new nousage opt

2016-03-24 Thread Jeff King
On Thu, Mar 24, 2016 at 10:51:05PM +0530, Chirayu Desai wrote: > I definitely want to work with Git in the future too, it has always > piqued my interest being something that I use daily. > I want to get this change done as well, if that is okay. Sure, that's great. Part of the point of microproj

Re: [PATCH/GSoC] parse-options: Add a new nousage opt

2016-03-24 Thread Chirayu Desai
Note Before: I have decided not to apply for GSoC with Git this year, as I was already late, and all the remaining time got taken by the proposal I wrote for Debian, and college studies / exams. I definitely want to work with Git in the future too, it has always piqued my interest being something

Re: [PATCH/GSoC] parse-options: Add a new nousage opt

2016-03-23 Thread Jeff King
On Sun, Mar 20, 2016 at 12:16:45PM +0530, Chirayu Desai wrote: > diff --git a/parse-options-cb.c b/parse-options-cb.c > index 239898d946..ac2ea4d674 100644 > --- a/parse-options-cb.c > +++ b/parse-options-cb.c > @@ -85,11 +85,15 @@ int parse_opt_commits(const struct option *opt, const > char *arg

Re: [PATCH/GSoC] parse-options: Add a new nousage opt

2016-03-19 Thread Chirayu Desai
This is being discussed in the "Re: "git tag --contains " is too chatty, if is invalid" thread. $gmane/289312 On Sun, Mar 20, 2016 at 12:16 PM, Chirayu Desai wrote: > * To show only error text on an error instead of the full usage > * Currently used only by commands with options "--with" or "--c

[PATCH/GSoC] parse-options: Add a new nousage opt

2016-03-19 Thread Chirayu Desai
* To show only error text on an error instead of the full usage * Currently used only by commands with options "--with" or "--contains", such as 'tag', 'branch', 'for-each-ref'. It now prints only $ git tag --contains qq error: malformed object name qq instead of the full usage text after th