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, 12:58 UTC
Message-ID
<8aa486160805270558v40e7faabh7d4426731693f917@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0805271151430.30431@racer>

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

Show 10 quoted lines
> Hi,
>
> 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.
Santi
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 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.