{"thread":{"id":"11928","subject":"List of files aded/removed/modified by \"git-checkout\"","startedAt":"2008-02-06T21:47:19Z","lastAt":"2008-02-07T16:11:33Z","messageCount":4,"participants":["Stefan Monnier","Junio C Hamano","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"67742","messageId":"jwvodatkbdm.fsf-monnier+gmane.comp.version-control.git@gnu.org","threadId":"11928","inReplyTo":null,"subject":"List of files aded/removed/modified by \"git-checkout\"","fromName":"Stefan Monnier","fromEmail":"monnier@iro.umontreal.ca","sentAt":"2008-02-06T21:47:19Z","receivedAt":"2008-02-06T21:47:19Z","isPatch":false,"sender":{"key":"monnier@iro.umontreal.ca","avatar":null},"body":"Whenever I do a git-checkout to switch between branches, I'm\ndisappointed by the absence of a \"-v\" option which would list the\noperations performed.\n\nHow can I get this information?\n\n\n        Stefan\n"},{"id":"67744","messageId":"7vve51qva3.fsf@gitster.siamese.dyndns.org","threadId":"11928","inReplyTo":"jwvodatkbdm.fsf-monnier+gmane.comp.version-control.git@gnu.org","subject":"Re: List of files aded/removed/modified by \"git-checkout\"","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-02-07T03:51:00Z","receivedAt":"2008-02-07T03:51:00Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Monnier <monnier@iro.umontreal.ca> writes:\n\n> Whenever I do a git-checkout to switch between branches, I'm\n> disappointed by the absence of a \"-v\" option which would list the\n> operations performed.\n>\n> How can I get this information?\n\nI'd be mightily annoyed with it myself, though, as I switch\nbetween 'master', 'next', 'pu' and 'maint' pretty often.\n\nHave something like this in .git/hooks/post-checkout and make it\nexecutable, perhaps?  Modify the options to suit your taste.\n\n#!/bin/sh\ncase \"$3\" in\n1)\n\tgit diff --stat --summary -M \"$1\" \"$2\" ;;\nesac\n"},{"id":"67802","messageId":"jwvfxw4ga0s.fsf-monnier+inbox@gnu.org","threadId":"11928","inReplyTo":"7vve51qva3.fsf@gitster.siamese.dyndns.org","subject":"Re: List of files aded/removed/modified by \"git-checkout\"","fromName":"Stefan Monnier","fromEmail":"monnier@iro.umontreal.ca","sentAt":"2008-02-07T13:41:29Z","receivedAt":"2008-02-07T13:41:29Z","isPatch":false,"sender":{"key":"monnier@iro.umontreal.ca","avatar":null},"body":">> Whenever I do a git-checkout to switch between branches, I'm\n>> disappointed by the absence of a \"-v\" option which would list the\n>> operations performed.\n>> \n>> How can I get this information?\n\n> I'd be mightily annoyed with it myself, though, as I switch\n> between 'master', 'next', 'pu' and 'maint' pretty often.\n\nWhy would such a \"-v\" option bother you?  Nobody forces you to use it.\n\n> Have something like this in .git/hooks/post-checkout and make it\n> executable, perhaps?  Modify the options to suit your taste.\n\nThat doesn't really cut it: I'd like to use it in a git frontend.\n\n\n        Stefan\n"},{"id":"67817","messageId":"alpine.LSU.1.00.0802071610370.8543@racer.site","threadId":"11928","inReplyTo":"jwvfxw4ga0s.fsf-monnier+inbox@gnu.org","subject":"Re: List of files aded/removed/modified by \"git-checkout\"","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-02-07T16:11:33Z","receivedAt":"2008-02-07T16:11:33Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 7 Feb 2008, Stefan Monnier wrote:\n\n> >> Whenever I do a git-checkout to switch between branches, I'm \n> >> disappointed by the absence of a \"-v\" option which would list the \n> >> operations performed.\n> >> \n> >> How can I get this information?\n> \n> > I'd be mightily annoyed with it myself, though, as I switch between \n> > 'master', 'next', 'pu' and 'maint' pretty often.\n> \n> Why would such a \"-v\" option bother you?  Nobody forces you to use it.\n\nI agree.\n\n> > Have something like this in .git/hooks/post-checkout and make it \n> > executable, perhaps?  Modify the options to suit your taste.\n> \n> That doesn't really cut it: I'd like to use it in a git frontend.\n\nWell, this request does not really cut it: it lacks a patch.  And yes, you \nhave been given enough information to hack it yourself.  No, I will not do \nsomething about it; this is not my itch.\n\nHth,\nDscho\n"}]}