From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Guillaume Pages <guillaume.pages@ensimag.grenoble-inp.fr>
Cc: Paul Tan <pyokagan@gmail.com>,
Antoine Delaite <antoine.delaite@ensimag.grenoble-inp.fr>,
Remi Galan <remi.galan-alfonso@ensimag.grenoble-inp.fr>,
Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr>,
Louis-Alexandre Stuber
<louis--alexandre.stuber@ensimag.grenoble-inp.fr>,
git@vger.kernel.org
Subject: Re: [RFC/PATCH v2] create a skeleton for the command git rebase --status
Date: Thu, 28 May 2015 17:53:46 +0200 [thread overview]
Message-ID: <vpqiobcy9yt.fsf@anie.imag.fr> (raw)
In-Reply-To: <1141577560.115469.1432827789020.JavaMail.zimbra@ensimag.grenoble-inp.fr> (Guillaume Pages's message of "Thu, 28 May 2015 17:43:09 +0200 (CEST)")
Guillaume Pages <guillaume.pages@ensimag.grenoble-inp.fr> writes:
> Hi,
>
> "Paul Tan" <pyokagan@gmail.com> :
>> I haven't kept up with the discussion, but I'm wondering: since you
>> need the functionality in wt-status.c, why not implement it in git
>> status? In fact, git-status already shows if there is a rebase in
>> progress, so why not extend it to say which patch/todo line the rebase
>> stopped on? It feels much more natural to me to use git-status to
>> check the status of the rebase, instead of git rebase --status.
>> Thanks, Paul
>
> It's a question I have asked myself but since git rebase --status will
> certainly display more information
Historically, I had the idea of "git rebase --status" and Ensimag
students started working on it 2 years ago. The same question came back
then during the discussion: why not just in status? This lead to the
header in the output of "git status" ("You are currently ...", for
rebase/am/bisect/...).
But I think there are more relevant information to show (e.g. list of
already applied commits, remaining list of commits, possibly truncated
if the list is overly long, and information that rebase gave you when
stopping like the path to the file being applied). Having them all in
"git status" would make the output really long, for little benefit in
day-to-day use.
So, to me, it makes sense to have a separate command "tell me everything
you know about the current state of the rebase".
> If we choose to use git status, it could be an option to display the
> full information since it currently gives very few information. I'm
> not sure what -verbose does but it could be its role.
"git status --verbose" is already taken for "show me the diff together
with status".
(I'm also dreaming of a "git status --tutor" that would show detailed
explanations with pointers to the documentation & all for each section
of "status". Useless for non-beginners, but could be a nice way to teach
Git to beginners)
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2015-05-28 15:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 14:20 [RFC/PATCH v2] create a skeleton for the command git rebase --status Guillaume Pagès
2015-05-28 15:39 ` Matthieu Moy
[not found] ` <CACRoPnRa1wrOJr=wGnR4NayZfe2yJ4F7Abv_sjqRpgQnicxm1g@mail.gmail.com>
2015-05-28 15:43 ` Guillaume Pages
2015-05-28 15:53 ` Matthieu Moy [this message]
2015-05-28 18:18 ` Junio C Hamano
2015-05-28 19:40 ` Matthieu Moy
2015-05-28 19:50 ` Junio C Hamano
2015-05-29 10:40 ` Guillaume Pages
2015-05-29 15:00 ` Matthieu Moy
2015-05-29 15:44 ` Junio C Hamano
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=vpqiobcy9yt.fsf@anie.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=antoine.delaite@ensimag.grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=guillaume.pages@ensimag.grenoble-inp.fr \
--cc=louis--alexandre.stuber@ensimag.grenoble-inp.fr \
--cc=pyokagan@gmail.com \
--cc=remi.galan-alfonso@ensimag.grenoble-inp.fr \
--cc=remi.lespinet@ensimag.grenoble-inp.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.