From: Kay Sievers Date: Wed, 25 May 2005 12:51:43 GMT Subject: Re: gitweb wishlist Message-ID: <20050525125143.GB1481@vrfy.org> In-Reply-To: <20050525123544.GA1420@vrfy.org> On Wed, May 25, 2005 at 02:35:44PM +0200, Kay Sievers wrote: > On Tue, May 24, 2005 at 07:23:39PM -0700, Junio C Hamano wrote: > > I was browsing www.kernel.org/git and noticed that it shows > > only files that exist at the tip. How do I get history of a > > file that does not exist anymore at the tip? > > > > For example, diff-helper.c history is (quite correctly) > > truncated somewhere close to where diff-tree-helper.c was > > renamed to it. From the commit log, humans can easily tell that > > it used to be called diff-tree-helper.c. I could not find an > > easy way to see the history of diff-tree-helper.c file. > > If git-diff-tree is given the -M: > git-rev-list HEAD | git-diff-tree -r -M --stdin diff-helper.c > > and it would print: > 99665af5c0be0fe4319b39183e84917993153576 (from 13ab4462d2aefb252d7c916bd537151856b7c967) > :100644 100644 51bb658be4f73c00016b4ecb82f09d30941998a4 51bb658be4f73c00016b4ecb82f09d30941998a4 R10000 diff-tree-helper.c diff-helper.c ^^^^^ Btw: Can we add a leading '0' to have 3-digit values every time? It's pretty stupid to get the '100' out ot that field instead of '10'. :) Kay