Add configuration options for some commonly used command-line options (Was: [RFH] GSoC 2015 application)

2017-03-19 Thread Duy Nguyen
On Thu, Feb 19, 2015 at 5:32 PM, Matthieu Moy wrote: > +### Add configuration options for some commonly used command-line options > + > +This includes: > + > +* git am -3 > + > +* git am -c > + > +Some people always run the command with these options, and would > +prefer to be able to activate the

Re: [RFH] GSoC 2015 application

2015-03-06 Thread Duy Nguyen
On Wed, Mar 04, 2015 at 10:19:16PM -0800, Junio C Hamano wrote: > But we would need some way to say a set-based cut-off; I do not > think using --since for that purpose is a good idea, though, because > that is already taken for date-based cut-off, and mixing them > together will introduce confusio

Re: [RFH] GSoC 2015 application

2015-03-05 Thread Nguyễn Thái Ngọc Duy
On Thu, Mar 5, 2015 at 5:05 AM, Philip Oakley wrote: > Given the mention of the GSoC ideas list, I thought it worth writing out one > of my little ideas.. > > > A possible idea is to add a date based variant of shallow clone : > >  'git clone --date ...' > > in the same vein as the existing depth

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Junio C Hamano
Stefan Beller writes: > I cannot remember the usual option off hand to describe the revision > instead of a date. Because "log --since= master" and "log v1.0..master" mean two completely different things, we need some way to specify which one of these two the user wants to "git clone" so that th

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Junio C Hamano
Stefan Beller writes: > On Wed, Mar 4, 2015 at 4:22 PM, Junio C Hamano wrote: >> On Wed, Mar 4, 2015 at 4:17 PM, Philip Oakley wrote: git clone --since 2.weeks.ago git clone --since v2.10 >>> >>> The use of --since instead of --date would be an equally valid way of >>> sp

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Stefan Beller
On Wed, Mar 4, 2015 at 4:22 PM, Junio C Hamano wrote: > On Wed, Mar 4, 2015 at 4:17 PM, Philip Oakley wrote: >>> >>>git clone --since 2.weeks.ago >>>git clone --since v2.10 >> >> The use of --since instead of --date would be an equally valid way of >> spelling the option (coders choice;

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Duy Nguyen
On Thu, Mar 5, 2015 at 6:55 AM, Stefan Beller wrote: > On Wed, Mar 4, 2015 at 2:05 PM, Philip Oakley wrote: > >> A possible idea is to add a date based variant of shallow clone : >> >> 'git clone --date ...' >> >> in the same vein as the existing depth (shallow) clone. > > As food for thought:

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Junio C Hamano
On Wed, Mar 4, 2015 at 4:17 PM, Philip Oakley wrote: >> >>git clone --since 2.weeks.ago >>git clone --since v2.10 > > The use of --since instead of --date would be an equally valid way of > spelling the option (coders choice;-) I think it is a demonstration of poor taste. Everywhere els

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Philip Oakley
From: "Stefan Beller" On Wed, Mar 4, 2015 at 2:05 PM, Philip Oakley wrote: A possible idea is to add a date based variant of shallow clone : 'git clone --date ...' in the same vein as the existing depth (shallow) clone. As food for thought: Maybe broaden this further up to the git-ish

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Stefan Beller
On Wed, Mar 4, 2015 at 2:05 PM, Philip Oakley wrote: > A possible idea is to add a date based variant of shallow clone : > > 'git clone --date ...' > > in the same vein as the existing depth (shallow) clone. As food for thought: Maybe broaden this further up to the git-ish way of describing re

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Philip Oakley
From: "Matthieu Moy" Sent: Friday, February 20, 2015 9:39 AM Jeff King writes: - Matthieu, who also cited time constraints Just to clarify: last year we were co-mentoring with Ram. I ended up having a lot of time and did most of the work (not blaming Ram, and I enjoyed the experience). I'

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Duy Nguyen
On Wed, Mar 4, 2015 at 5:31 PM, Jeff King wrote: > On Thu, Feb 26, 2015 at 08:10:38PM +0700, Duy Nguyen wrote: > >> On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: >> > Where I really need help now is in the "ideas" page: >> > >> > http://git.github.io/SoC-2015-Ideas.html >> >> Is this too am

Re: [RFH] GSoC 2015 application

2015-03-04 Thread Jeff King
On Thu, Feb 26, 2015 at 08:10:38PM +0700, Duy Nguyen wrote: > On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: > > Where I really need help now is in the "ideas" page: > > > > http://git.github.io/SoC-2015-Ideas.html > > Is this too ambitious for a summer? I suspect the answer is yes, but any

Re: [RFH] GSoC 2015 application

2015-02-26 Thread Duy Nguyen
On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: > Where I really need help now is in the "ideas" page: > > http://git.github.io/SoC-2015-Ideas.html Is this too ambitious for a summer? I suspect the answer is yes, but anyway.. Due to http limitations and stateless decision, a lot of data is s

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Matthieu, On 2015-02-25 11:25, Matthieu Moy wrote: > - Original Message - >> On 2015-02-24 13:28, Jeff King wrote: >> > On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: >> > >> >> > Thanks! No rush, as we are not even accepted yet, but you can create a >> >> > profi

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Duy, On 2015-02-25 11:02, Duy Nguyen wrote: > On Wed, Feb 25, 2015 at 6:56 AM, Matthieu Moy > wrote: >> To get an idea, I counted the lines of code written by the student I >> mentored last year: >> >> $ git log --author tanay...@gmail.com -p | diffstat -s >> 43 files changed, 1225 insertions

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Matthieu Moy
- Original Message - > Hi Peff, > > On 2015-02-24 13:28, Jeff King wrote: > > On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: > > > >> > Thanks! No rush, as we are not even accepted yet, but you can create a > >> > profile at: > >> > > >> > http://google-melange.com

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Christian Couder
On Wed, Feb 25, 2015 at 9:44 AM, Johannes Schindelin wrote: > Hi Matthieu, > > On 2015-02-25 00:56, Matthieu Moy wrote: >> Johannes Schindelin writes: >> >>> On 2015-02-24 19:25, Junio C Hamano wrote: On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy wrote: > About the proposal: >

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Duy Nguyen
On Wed, Feb 25, 2015 at 6:56 AM, Matthieu Moy wrote: > To get an idea, I counted the lines of code written by the student I > mentored last year: > > $ git log --author tanay...@gmail.com -p | diffstat -s > 43 files changed, 1225 insertions(+), 367 deletions(-) > > I would consider this GSoC as "

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Matthieu Moy
Johannes Schindelin writes: >>> Done: https://github.com/git/git.github.io/pull/12 >> >> Thanks, merged. > > I opened another PR, based on Mathieu's advice. Thanks, merged. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in th

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Peff, On 2015-02-24 13:28, Jeff King wrote: > On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: > >> > Thanks! No rush, as we are not even accepted yet, but you can create a >> > profile at: >> > >> > http://google-melange.com >> > >> > and ask to join the "git" project as

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Michael J Gruber
Stefan Beller venit, vidit, dixit 25.02.2015 01:34: > On Tue, Feb 24, 2015 at 3:56 PM, Matthieu Moy > wrote: >> Johannes Schindelin writes: >> >>> Hi Junio, >>> >>> On 2015-02-24 19:25, Junio C Hamano wrote: On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy wrote: > About the proposal:

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Matthieu, On 2015-02-25 00:56, Matthieu Moy wrote: > Johannes Schindelin writes: > >> On 2015-02-24 19:25, Junio C Hamano wrote: >>> On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy >>> wrote: About the proposal: The idea of this project is to dive into the Git source code and

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Stefan Beller
On Tue, Feb 24, 2015 at 3:56 PM, Matthieu Moy wrote: > Johannes Schindelin writes: > >> Hi Junio, >> >> On 2015-02-24 19:25, Junio C Hamano wrote: >>> On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy >>> wrote: About the proposal: The idea of this project is to dive into the Git so

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Matthieu Moy
Johannes Schindelin writes: > Hi Junio, > > On 2015-02-24 19:25, Junio C Hamano wrote: >> On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy >> wrote: >>> About the proposal: >>> >>> The idea of this project is to dive into the Git source code and >>> convert, say, git-add--interactive.perl and/o

Re: [RFH] GSoC 2015 application

2015-02-24 Thread Junio C Hamano
Johannes Schindelin writes: >> Also drop "proper" as if scripted Porcelains are second class citizens ;-) > > If you had to deal with the portability/performance issues of the > shell scripts I am frequently faced with, you would not call them > first class citizens, either. Perhaps that might b

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Johannes Schindelin
Hi Junio, On 2015-02-24 19:25, Junio C Hamano wrote: > On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy > wrote: >> About the proposal: >> >> The idea of this project is to dive into the Git source code and >> convert, say, git-add--interactive.perl and/or git stash into proper C >> code, maki

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Junio C Hamano
On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy wrote: > About the proposal: > > The idea of this project is to dive into the Git source code and > convert, say, git-add--interactive.perl and/or git stash into proper C > code, making it a so-called "built-in". > > My advice would be to try con

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Matthieu Moy
Johannes Schindelin writes: > After considerable consideration, I am offering to mentor > Windows-related projects (into which I count conversion of scripts > into builtins). Good news! About the proposal: The idea of this project is to dive into the Git source code and convert, say, git-a

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Jeff King
On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: > > Thanks! No rush, as we are not even accepted yet, but you can create a > > profile at: > > > > http://google-melange.com > > > > and ask to join the "git" project as a mentor. > > I guess I can only ask that after the or

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Johannes Schindelin
Hi Peff, On 2015-02-24 13:06, Jeff King wrote: > On Tue, Feb 24, 2015 at 01:01:17PM +0100, Johannes Schindelin wrote: > >> After considerable consideration, I am offering to mentor >> Windows-related projects (into which I count conversion of scripts >> into builtins). > > Thanks! No rush, as we

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Jeff King
On Tue, Feb 24, 2015 at 01:01:17PM +0100, Johannes Schindelin wrote: > After considerable consideration, I am offering to mentor > Windows-related projects (into which I count conversion of scripts > into builtins). Thanks! No rush, as we are not even accepted yet, but you can create a profile at

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-24 Thread Johannes Schindelin
Hi Peff, On 2015-02-18 20:32, Jeff King wrote: > On Wed, Feb 18, 2015 at 02:14:17PM -0500, Jeff King wrote: > >> The response to my previous email was not overwhelming, but people did >> express some interest in Git doing GSoC this year. So I've started on >> the application, using last year's v

Re: [RFH] GSoC 2015 application

2015-02-23 Thread Jeff King
On Mon, Feb 23, 2015 at 09:02:58AM +0100, Matthieu Moy wrote: > > That content was cut-and-pasted into Google's application interface. > > Matthieu, as backup admin you should have access to tweak that if there > > are typos, etc (and I will probably not be available to apply fixes from > > now un

Re: [RFH] GSoC 2015 application

2015-02-23 Thread Matthieu Moy
Jeff King writes: > So that being said, I did complete the application. We can still > withdraw if we want before students start applying, or we can put a > disclaimer on the ideas page. I'm in favor of the disclaimer, but I won't fight if other people think it's better to just withdraw. > That

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Jeff King
On Fri, Feb 20, 2015 at 04:48:44AM -0500, Jeff King wrote: > > From your list, it seems we can target 1 or 2 slots. I'd say it's still > > worth applying, but if we don't find more mentors then perhaps it would > > make sense to say so explicitely in > > http://git.github.io/SoC-2015-Ideas.html so

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Eric Sunshine
On Fri, Feb 20, 2015 at 5:06 AM, Matthieu Moy wrote: > Jeff King writes: >> I think these might be getting a little larger than "micro". > > The ~/.git-credential-cache may be a bit harder, but the case of > ~/.git-credentials should follow the same pattern as files for which > this is already do

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Matthieu Moy
Dennis Kaarsemaker writes: > given a config file name tells > you where it should be, maybe in the resident kitchen-sink that is > rev-parse: It's actually a bit harder than this, since when both XDG and ~/. exist, we read from both but write to one only. So there's not just one answer to the qu

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Dennis Kaarsemaker
On vr, 2015-02-20 at 11:06 +0100, Matthieu Moy wrote: > The ~/.git-credential-cache may be a bit harder, but the case of > ~/.git-credentials should follow the same pattern as files for which > this is already done. So, doing it by mimicking existing code > shouldn't > be too hard. > > But maybe t

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Matthieu Moy
Jeff King writes: >> * Be nicer to the user on tracked/untracked merge conflicts >> [...] > > Sounds OK to me, though I agree the merging of untracked files is a > little controversial. Yes. To me, part of the project is to identify cases where this is actually not controversial (OTOH, it's a bi

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Jeff King
On Fri, Feb 20, 2015 at 10:39:42AM +0100, Matthieu Moy wrote: > Jeff King writes: > > > - Matthieu, who also cited time constraints > > Just to clarify: last year we were co-mentoring with Ram. I ended up > having a lot of time and did most of the work (not blaming Ram, and I > enjoyed the ex

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Matthieu Moy
Jeff King writes: > - Matthieu, who also cited time constraints Just to clarify: last year we were co-mentoring with Ram. I ended up having a lot of time and did most of the work (not blaming Ram, and I enjoyed the experience). I'm still motivated to co-mentor, but this time the co-mentoring h

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Junio C Hamano
On Thu, Feb 19, 2015 at 11:13 PM, Jeff King wrote: >> There is debian bug 777690 [1] that's basically about making tag's >> version sort aware about -rc, -pre suffixes. I imagine it would touch >> versioncmp.c and builtin/tag.c (to retrieve the suffixes from config >> file). >> >> [1] https://bug

Re: [RFH] GSoC 2015 application

2015-02-20 Thread Junio C Hamano
On Thu, Feb 19, 2015 at 11:29 PM, Jeff King wrote: > > This brings up an important issue. We cannot do GSoC without mentors. I > had hoped that people populating the "ideas" list would volunteer to > mentor for their projects. > > But so far the possibilities are: > > - Stefan > > - me, who ha

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Jeff King
On Fri, Feb 20, 2015 at 06:35:09AM +0100, Michael Haggerty wrote: > On 02/18/2015 08:14 PM, Jeff King wrote: > > The response to my previous email was not overwhelming, but people did > > express some interest in Git doing GSoC this year. So I've started on > > the application, using last year's v

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Jeff King
On Fri, Feb 20, 2015 at 10:26:15AM +0700, Duy Nguyen wrote: > On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: > > and the list of microprojects: > > > > http://git.github.io/SoC-2015-Microprojects.html > > > > There is debian bug 777690 [1] that's basically about making tag's > version sort

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Michael Haggerty
On 02/18/2015 08:14 PM, Jeff King wrote: > The response to my previous email was not overwhelming, but people did > express some interest in Git doing GSoC this year. So I've started on > the application, using last year's version as a template. Regretfully, I can't in good conscience volunteer to

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Duy Nguyen
On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: > and the list of microprojects: > > http://git.github.io/SoC-2015-Microprojects.html > There is debian bug 777690 [1] that's basically about making tag's version sort aware about -rc, -pre suffixes. I imagine it would touch versioncmp.c and bui

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Jeff King
On Thu, Feb 19, 2015 at 11:32:46AM +0100, Matthieu Moy wrote: > > I do need somebody to volunteer as backup admin. This doesn't need > > to involve any specific commitment, but is mostly about what to do if I > > get hit by a bus. > > If you promise me to try hard not to be hit by a bus and no on

Re: [RFH] GSoC 2015 application

2015-02-19 Thread Matthieu Moy
Jeff King writes: > I do need somebody to volunteer as backup admin. This doesn't need > to involve any specific commitment, but is mostly about what to do if I > get hit by a bus. If you promise me to try hard not to be hit by a bus and no one else steps in, I can be the backup admin. > Where

Re: [RFH] GSoC 2015 application

2015-02-18 Thread Junio C Hamano
On Wed, Feb 18, 2015 at 1:54 PM, Junio C Hamano wrote: > > A few for micros. > > +### Allow "-" as a short-hand for "@{-1}" in more places. > + > +Pick one command that operates on branch names. Teach it the "-" > +shorthand that stands for "the branch we were previously on", like we In the same

Re: [RFH] GSoC 2015 application

2015-02-18 Thread Junio C Hamano
Jeff King writes: > and the list of microprojects: > > http://git.github.io/SoC-2015-Microprojects.html A few for micros. diff --git a/SoC-2015-Microprojects.md b/SoC-2015-Microprojects.md index b79a89f..f3b2b55 100644 --- a/SoC-2015-Microprojects.md +++ b/SoC-2015-Microprojects.md @@ -107,4

Re: [RFH] GSoC 2015 application

2015-02-18 Thread Jeff King
Cc-ing this to the msysgit list, which I should have done in the first place. Certainly ideas specific to Git for Windows would be welcome. On Wed, Feb 18, 2015 at 02:14:17PM -0500, Jeff King wrote: > The response to my previous email was not overwhelming, but people did > express some interest i

[RFH] GSoC 2015 application

2015-02-18 Thread Jeff King
The response to my previous email was not overwhelming, but people did express some interest in Git doing GSoC this year. So I've started on the application, using last year's version as a template. The materials are all in: https://github.com/git/git.github.io If you'd like to help, I'm happy