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

Re: How to get status-like short format for old commits?

From
Kevin <compufreak@gmail.com>
Date
Mar 26, 2012, 12:07 UTC
Message-ID
<20120326120703.GA5454@ikke-laptop.buyways.nl>
In-Reply-To
<CAA01CsqM_cmf8A5OjdkX4i-ituCWK95ygEoK_Y0-2LkKo1D7kA@mail.gmail.com>

You might want git log --name-status. It will show something similar as git status -s. (so with A,M,D etc. as status).

On Mon, Mar 26, 2012 at 01:24:24PM +0200, Piotr Krukowiecki wrote:
Show 19 quoted lines
> Hi,
> 
> I there a way to get a clear status of some past commits, like 'git
> status' shows for current index/HEAD? I.e. something like
> 
> git status HEAD^
> #	modified:   Makefile
> #	deleted:    t/t0080-vcs-svn.sh
> #	new file:   t/t9011-svn-da.sh
> #	renamed:   xxx -> yyy
> 
> 
> Thanks,
> -- 
> Piotr Krukowiecki
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Piotr KrukowieckiNext: Piotr Krukowiecki
Message 2 of 4 in “How to get status-like short format for old commits?”
  1. Piotr KrukowieckiMar 26, 2012
  2. KevinMar 26, 2012
  3. Piotr KrukowieckiMar 26, 2012
  4. Jeff KingMar 26, 2012

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.