* GSoC git-add--interactive improvements
@ 2012-04-04 4:07 Corey F
2012-04-04 8:26 ` Christian Couder
0 siblings, 1 reply; 3+ messages in thread
From: Corey F @ 2012-04-04 4:07 UTC (permalink / raw)
To: git
Hi all,
I'd be interested in making improvements to the git add -p (etc.)
interface as a Google Summer of Code project, as suggested on the ideas
page [1].
The page lists some interesting ideas for both larger architectural
changes and smaller interface improvements, though I agree that getting
lots of community input during the project will be important. So at this
point I'm wondering how much I should plan out in my proposal -- maybe
pin down a few important features and a process for getting more input?
Last year's SoC ideas page included rewriting some commands in C,
including this one. I'm at least as comfortable with C as with Perl, but
I'm guessing that incorporating a rewrite into the project would be an
ambitious and/or dangerous idea.
Any thoughts on how best to approach this project idea are welcome.
Alternately, the "ultimate content tracking" tool to find similar
sections that might have been the basis for newly added lines sounds
intriguing, and I will refresh myself on the previous list discussion
regarding that idea.
Thanks,
Corey
1: https://github.com/peff/git/wiki/SoC-2012-Ideas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GSoC git-add--interactive improvements
2012-04-04 4:07 GSoC git-add--interactive improvements Corey F
@ 2012-04-04 8:26 ` Christian Couder
2012-04-05 5:46 ` Corey F
0 siblings, 1 reply; 3+ messages in thread
From: Christian Couder @ 2012-04-04 8:26 UTC (permalink / raw)
To: Corey F; +Cc: git
Hi,
On Wed, Apr 4, 2012 at 6:07 AM, Corey F <coyotebush22@gmail.com> wrote:
> Hi all,
>
> I'd be interested in making improvements to the git add -p (etc.) interface
> as a Google Summer of Code project, as suggested on the ideas page [1].
>
> The page lists some interesting ideas for both larger architectural changes
> and smaller interface improvements, though I agree that getting lots of
> community input during the project will be important. So at this point I'm
> wondering how much I should plan out in my proposal -- maybe pin down a few
> important features and a process for getting more input?
>
> Last year's SoC ideas page included rewriting some commands in C, including
> this one. I'm at least as comfortable with C as with Perl, but I'm guessing
> that incorporating a rewrite into the project would be an ambitious and/or
> dangerous idea.
It depends how you plan to do it. In builtin/apply.c and perhaps
elsewhere there is already some C code that is duplicated in
git-add--interactive.perl.
Maybe you can first make add--interactive use the C code by creating a
helper command and then move more and more stuff from add--interactive
to the helper command.
Hopefully in the end the code in the helper could be used to add an
interactive mode to git apply.
Thanks,
Christian.
PS: Sorry I replied to you only first.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GSoC git-add--interactive improvements
2012-04-04 8:26 ` Christian Couder
@ 2012-04-05 5:46 ` Corey F
0 siblings, 0 replies; 3+ messages in thread
From: Corey F @ 2012-04-05 5:46 UTC (permalink / raw)
To: Christian Couder; +Cc: git
On 04/04/2012 01:26 AM, Christian Couder wrote:
> Hi,
>
> On Wed, Apr 4, 2012 at 6:07 AM, Corey F<coyotebush22@gmail.com> wrote:
>> Last year's SoC ideas page included rewriting some commands in C, including
>> this one. I'm at least as comfortable with C as with Perl, but I'm guessing
>> that incorporating a rewrite into the project would be an ambitious and/or
>> dangerous idea.
> It depends how you plan to do it. In builtin/apply.c and perhaps
> elsewhere there is already some C code that is duplicated in
> git-add--interactive.perl.
> Maybe you can first make add--interactive use the C code by creating a
> helper command and then move more and more stuff from add--interactive
> to the helper command.
> Hopefully in the end the code in the helper could be used to add an
> interactive mode to git apply.
Okay, that sounds like an interesting way to approach it. The helper
command would then constitute a slightly more generic patch-chooser
interface, and most of the suggested architectural changes would be
broadly applicable.
Then again, perhaps it would be better to instead, as a sub-project,
make git-add--interactive.perl work for apply in addition to
add,commit,stash,reset. That would let me still primarily focus on
restructuring the Perl code.
I think the first few suggested design improvements, in particular, will
be valuable changes. (I often find myself wanting even more granular
control over what exact characters get staged; that may be another
improvement I'll aim for.)
I'll think about these some more and hope to put together a GSoC
application. Thanks for your insights.
Corey
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-05 5:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 4:07 GSoC git-add--interactive improvements Corey F
2012-04-04 8:26 ` Christian Couder
2012-04-05 5:46 ` Corey F
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).