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

Re: List of files aded/removed/modified by "git-checkout"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 7, 2008, 16:11 UTC
Message-ID
<alpine.LSU.1.00.0802071610370.8543@racer.site>
In-Reply-To
<jwvfxw4ga0s.fsf-monnier+inbox@gnu.org>
Hi,
On Thu, 7 Feb 2008, Stefan Monnier wrote:
Show 10 quoted lines
> >> Whenever I do a git-checkout to switch between branches, I'm 
> >> disappointed by the absence of a "-v" option which would list the 
> >> operations performed.
> >> 
> >> How can I get this information?
> 
> > I'd be mightily annoyed with it myself, though, as I switch between 
> > 'master', 'next', 'pu' and 'maint' pretty often.
> 
> Why would such a "-v" option bother you?  Nobody forces you to use it.
I agree.
> > Have something like this in .git/hooks/post-checkout and make it 
> > executable, perhaps?  Modify the options to suit your taste.
> 
> That doesn't really cut it: I'd like to use it in a git frontend.

Well, this request does not really cut it: it lacks a patch. And yes, you have been given enough information to hack it yourself. No, I will not do something about it; this is not my itch.

Hth, Dscho

Previous: Stefan Monnier
Message 4 of 4 in “List of files aded/removed/modified by "git-checkout"”
  1. Stefan MonnierFeb 6, 2008
  2. Junio C HamanoFeb 7, 2008
  3. Stefan MonnierFeb 7, 2008
  4. Johannes SchindelinFeb 7, 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.