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

Re: [PATCH] git-reset: make the output as the fetch output

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 17, 2007, 15:35 UTC
Message-ID
<Pine.LNX.4.63.0701171634160.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<8aa486160701170723j5767f0d3jd3eb4b8817413195@mail.gmail.com>
Hi,
[reCc'ing list]
On Wed, 17 Jan 2007, Santi Béjar wrote:
Show 17 quoted lines
> On 1/17/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > Hi,
> > 
> > IMHO your version is less helpful than the current behaviour: now it
> > shows the oneline (which your version doesn't), and in most cases you
> > reset from a dirty state (at least I _exclusively_ use reset in such
> > situations), where "from..to" does not make any sense.
> 
> My motivation is to have a coherent output. I recognize that the ..
> notation in fetch (fastforwarding) does not generally make sense in
> reset. Could be better
> 
> * HEAD: reset to ...
>  old: $hash
>  new: $hash
> 
> If I want to see the commit title I do a "git branch -v".

The whole point of tags/v1.5.0-rc0~44 was to _avoid_ "git branch -v", or "git show HEAD".

Ciao, Dscho

Previous: Johannes Schindelin
Message 6 of 6 in “git-reset: make the output as the fetch output”
  1. git-reset: make the output as the fetch outputSanti Béjar, Jan 17, 2007
  2. Santi BéjarJan 17, 2007
  3. YOSHIFUJI Hideaki / 吉藤英明Jan 17, 2007
  4. Andy ParkinsJan 17, 2007
  5. Johannes SchindelinJan 17, 2007
  6. Johannes SchindelinJan 17, 2007

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.