From: karthik nayak <karthik.188@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: Sundararajan R <dyoucme@gmail.com>, git@vger.kernel.org
Subject: Re: [GSoC Project Help] Unifying git branch -l, git tag -l and git for-each-ref
Date: Sat, 21 Mar 2015 22:32:59 +0530 [thread overview]
Message-ID: <550DA443.1030905@gmail.com> (raw)
In-Reply-To: <550AC7E9.6060702@drmicha.warpmail.net>
On 03/19/2015 06:28 PM, Michael J Gruber wrote:
> Sundararajan R venit, vidit, dixit 19.03.2015 12:22:
> > Hi all,
> >
> > I am a Computer Science sophomore at IIT Kanpur. I am interested in
> > contributing to git in GSoC 2015. I have been using git for the past one year
> > and am pretty comfortable with its commands which is what made me think about
> > contributing to git. I have attempted the microproject “adding ‘-’ as a
> > shorthand to @{-1} in the reset command” [1] [2] from which I learnt about
> > how code is reviewed in the community and how a seemingly small change can
> > end up being much more difficult. But the thing I liked the most is the warm
> > and welcoming attitude of everyone in the community towards a newcomer like
> > me. I wish to take up the project idea “Unifying git branch -l, git tag -l
> > and git for-each-ref”. I am in the process of reading and understanding the
> > codes of these three commands and figuring out similarities and differences
> > in them. I have gone through some of the discussions regarding this on the
> > archive and have also read Junio’s reply to Amate Yolande [3], but I haven’t
> > been able to find patches which attempt to unify the selection process as
> > mentioned in the description of the idea. It would be great if someone could
> > point me towards these patches which would help me when I start designing the
> > details of the unified implementation. Thanks a lot for your time.
> >
> > Regards,
> > R Sundararajan.
> >
> > [1] : http://marc.info/?l=git&m=142666740415816&w=2
> > [2] : http://marc.info/?l=git&m=142666773315899&w=2
> > [3] : http://article.gmane.org/gmane.comp.version-control.git/264966
>
> I don't think there have been actual attempts at unifying the "display"
> part of the list modes. A first step would be:
>
> Check what "tag -l" and "branch -l" output you can reproduce using
> for-each-ref format strings.
>
> Then see whether for-each-ref needs to expose more information about the
> refs.
>
> I wouldn't mind unifying the actual output format, but some will disagree.
>
> As for the issue of ref selection (contains and such), the following
> thread may be helpful:
>
> http://thread.gmane.org/gmane.comp.version-control.git/252472
>
> Cheers
> Michael
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Hello,
I am applying for the same project as well, under GSoC. I found some attempts by
Jeff King towards unification here :
https://github.com/peff/git/commits/jk/for-each-ref-contains-wip
Which was discussed here :
http://thread.gmane.org/gmane.comp.version-control.git/230694/focus=2308
Hope this helps you out too.
Regards
-Karthik
prev parent reply other threads:[~2015-03-21 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 11:22 [GSoC Project Help] Unifying git branch -l, git tag -l and git for-each-ref Sundararajan R
2015-03-19 12:58 ` Michael J Gruber
2015-03-21 17:02 ` karthik nayak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550DA443.1030905@gmail.com \
--to=karthik.188@gmail.com \
--cc=dyoucme@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).