git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] git-what: explain what to do next

From
SBSanti Béjar <sbejar@gmail.com>
Date
May 27, 2008, 13:37 UTC
Message-ID
<8aa486160805270637m3fc640bfr9fa51eb917460e5c@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0805271411520.30431@racer>

On Tue, May 27, 2008 at 3:12 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 34 quoted lines
> Hi,
>
> On Tue, 27 May 2008, Santi Béjar wrote:
>
>> On Tue, May 27, 2008 at 12:53 PM, Johannes Schindelin
>> <Johannes.Schindelin@gmx.de> wrote:
>>
>> > On Tue, 27 May 2008, Santi Béjar wrote:
>> >
>> >> In case you don't know the next step, if it is "git commit", "git
>> >> commit --amend", "git rebase --continue" or something else.
>> >
>> > We had a patch similar to this already, but I think that the right
>> > approach is _not_ to teach the single commands to explain their state,
>> > but to make a new script guessing the current state.
>>
>> I think it belongs to each command to know the state, but I have no
>> problem with the single command approach.
>>
>> >  AFAIR we have something like that in the completions already, as an
>> > (optional) prompt.
>>
>> Thanks. And they do it a bit different, I'll use it if it is better than
>> mine.
>>
>> >
>> > However, I think it would make sense to push for that
>> > .dotest,.git/.dotest-merge -> .git/rebase change _before_ having
>> > anything like git-whazzup.sh.
>>
>> That's a problem of the single command approach.
>
> Sure it is.  But cluttering up the commands for something that is not
> really proven to be wanted by many is IMO inferior.
This is an argument against git-whatzzup.sh in general. Point taken.

Maybe you are right, but I remember that this is something some people has asked in this list a number of times.

Moreover, this could be integrated in "git status".
Santi
Previous: Johannes SchindelinNext: Stephen R. van den Berg
Message 5 of 14 in “git-what: explain what to do next”
  1. git-what: explain what to do nextSanti Béjar, May 27, 2008
  2. Johannes SchindelinMay 27, 2008
  3. Santi BéjarMay 27, 2008
  4. Johannes SchindelinMay 27, 2008
  5. Santi BéjarMay 27, 2008
  6. Stephen R. van den BergMay 27, 2008
  7. Santi BéjarMay 27, 2008
  8. Steven WalterMay 27, 2008
  9. Junio C HamanoMay 27, 2008
  10. Junio C HamanoMay 27, 2008
  11. Santi BéjarMay 28, 2008
  12. Christian CouderMay 29, 2008
  13. Junio C HamanoMay 29, 2008
  14. Jon LoeligerMay 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.