Re: Ensimag students projects, version 2013

2013-04-16 Thread Ramkumar Ramachandra
Matthieu Moy wrote: I tend to agree with you, but the idea has explicitly been rejected in the past. The problem with an option like this is that it would also disable the advices that may be added in the future. By letting people disable the advices one by one, people see new advices as they

Re: Ensimag students projects, version 2013

2013-04-16 Thread Ramkumar Ramachandra
Junio C Hamano wrote: I'd hate to see any Git developers running with advice turned off for this exact reason. Improving advice is your itch, but it is certainly not my itch. I don't want to see messages like Commit your changes or stash them, or try --continue | --skip | --abort cluttering up

Re: Ensimag students projects, version 2013

2013-04-16 Thread Junio C Hamano
Ramkumar Ramachandra artag...@gmail.com writes: Matthieu Moy wrote: I tend to agree with you, but the idea has explicitly been rejected in the past. The problem with an option like this is that it would also disable the advices that may be added in the future. By letting people disable the

Re: Ensimag students projects, version 2013

2013-04-16 Thread Ramkumar Ramachandra
Junio C Hamano wrote: Who said anything about a customer? A newcomer to a community (i.e. Matthieu's student) needs not just to show technical excellence with patches, but needs to make a good argument on a larger design decision; old timers already tried to achieve a concensus on it, and

Re: Ensimag students projects, version 2013

2013-04-15 Thread Matthieu Moy
Ping Yin pkufra...@gmail.com writes: 15 git rebase --stash, git pull --rebase --stash It seems that Ramkumar Ramachandra is working on this in his [PATCH v2 0/3] Introduce pull.autostash series Ping Yin Ah, cool! Added a note to the wiki, thanks, -- Matthieu Moy

Re: Ensimag students projects, version 2013

2013-04-15 Thread Thomas Rast
Matthieu Moy matthieu@grenoble-inp.fr writes: https://git.wiki.kernel.org/index.php/SmallProjectsIdeas My $0.02: * Allow git add -p to use git diff --color-words to show hunks Check if you can use the existing --word-diff=porcelain output somehow to get it done in pure perl.

Re: Ensimag students projects, version 2013

2013-04-15 Thread Matthieu Moy
Thomas Rast tr...@inf.ethz.ch writes: My $0.02: (BTW, feel free to edit the wiki. I've added a few bits from your message there already). * Allow git add -p to use git diff --color-words to show hunks [...] If neither one is possible my feeling is that it's one of the hardest tasks on

Re: Ensimag students projects, version 2013

2013-04-15 Thread John Keeping
On Mon, Apr 15, 2013 at 11:24:21AM +0200, Matthieu Moy wrote: Thomas Rast tr...@inf.ethz.ch writes: * Allow git send-email --cc 'f...@example.com, b...@example.com' instead of git send-email --cc f...@example.com --cc b...@example.com That would be really nice. Bonus points if it

Re: Ensimag students projects, version 2013

2013-04-15 Thread Duy Nguyen
On Mon, Apr 15, 2013 at 7:06 PM, Thomas Rast tr...@inf.ethz.ch wrote: Matthieu Moy matthieu@grenoble-inp.fr writes: https://git.wiki.kernel.org/index.php/SmallProjectsIdeas My $0.02: * Allow git add -p to use git diff --color-words to show hunks Check if you can use the existing

Re: Ensimag students projects, version 2013

2013-04-15 Thread Jeff King
On Mon, Apr 15, 2013 at 11:24:21AM +0200, Matthieu Moy wrote: * git pull --set-upstream This is vaguely related to another itch that nobody has bothered to fix: 'git fetch origin foo' should really update origin/foo. This has been discussed on the list a few times already:

Re: Ensimag students projects, version 2013

2013-04-15 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Mon, Apr 15, 2013 at 11:24:21AM +0200, Matthieu Moy wrote: * git pull --set-upstream This is vaguely related to another itch that nobody has bothered to fix: 'git fetch origin foo' should really update origin/foo. This has been discussed on

Re: Ensimag students projects, version 2013

2013-04-15 Thread Ramkumar Ramachandra
A few small personal itches off the top of my head: - Make git status -s show state status as well: this essentially requires writing an equivalent of wt_status_print_state() for use in wt_shortstatus_print(). - Make the -s and -b switches in git status configuration variables. I currently have

Re: Ensimag students projects, version 2013

2013-04-15 Thread Junio C Hamano
Ramkumar Ramachandra artag...@gmail.com writes: - Make the -3 and -c switches in git am configuration variables. I have an alias. - Make failed git am --3way due to unusable index a bit more helpful. Right now, the information on which hunk failed to apply is lost, and there is no git

Re: Ensimag students projects, version 2013

2013-04-15 Thread Matthieu Moy
Ramkumar Ramachandra artag...@gmail.com writes: A few small personal itches off the top of my head: - Make git status -s show state status as well: this essentially requires writing an equivalent of wt_status_print_state() for use in wt_shortstatus_print(). Do you mean, showing it in a

Re: Ensimag students projects, version 2013

2013-04-15 Thread Jeff King
On Mon, Apr 15, 2013 at 06:32:49PM +0200, Matthieu Moy wrote: - Create an advice.ui (like color.ui) to turn off all advice. I don't need advice. I tend to agree with you, but the idea has explicitly been rejected in the past. The problem with an option like this is that it would also

Re: Ensimag students projects, version 2013

2013-04-15 Thread Phil Hord
On Mon, Apr 15, 2013 at 11:18 AM, Ramkumar Ramachandra artag...@gmail.com wrote: A few small personal itches off the top of my head: - Make git status -s show state status as well: this essentially requires writing an equivalent of wt_status_print_state() for use in wt_shortstatus_print(). I

Re: Ensimag students projects, version 2013

2013-04-15 Thread Junio C Hamano
Jeff King p...@peff.net writes: FWIW, I do not think it was so much rejected as that I had initially planned to implement it, then decided against it. Mostly because I wanted to actually get annoyed with each piece of advice before disabling it. Because sometimes the right answer is actually

Re: Ensimag students projects, version 2013

2013-04-15 Thread Jeff King
On Mon, Apr 15, 2013 at 07:53:48AM -0700, Junio C Hamano wrote: Yes. The concept isn't that hard, but the question was one of whether it would break some obscure workflows. But I don't remember all of the details; I think I gave some examples in past threads. I think the one Thomas lists

Ensimag students projects, version 2013

2013-04-14 Thread Matthieu Moy
Hi, Like the years before, I'm going to offer my students a 1 month project (end of May - end of June) where they can contribute to a free software, in particular Git. Students are free to pick the feature they want, but I maintain a list of small project ideas on the wiki to help them:

Re: Ensimag students projects, version 2013

2013-04-14 Thread Ping Yin
15 git rebase --stash, git pull --rebase --stash It seems that Ramkumar Ramachandra is working on this in his [PATCH v2 0/3] Introduce pull.autostash series Ping Yin On Mon, Apr 15, 2013 at 4:04 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: Hi, Like the years before, I'm going to