Git development
 help / color / mirror / Atom feed
* Can git log <file> follow log of its origins?
@ 2008-01-29 17:48 Max Pollard
  2008-01-29 18:17 ` Sean
  2008-01-29 20:03 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Max Pollard @ 2008-01-29 17:48 UTC (permalink / raw)
  To: git

Hi all,

If I do the following:

     $ git init
     $ echo "The brown fox is getting old" > a.txt
     $ git add a.txt
     $ git commit -m "Commit a.txt"

     $ cp a.txt b.txt
     $ git add b.txt
     $ git commit -m "Copy a.txt to b.txt"

     $ git log b.txt

I only see the log corresponding to the 2nd commit (v1.5.3.5).  Is it possible
to have the above command keep going and show the history of a.txt?  Or at
least somehow indicate that b.txt originated from a.txt?


Thanks,
MP



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-29 21:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 17:48 Can git log <file> follow log of its origins? Max Pollard
2008-01-29 18:17 ` Sean
2008-01-29 19:47   ` Max Pollard
2008-01-29 20:03 ` Junio C Hamano
2008-01-29 21:07   ` Max Pollard
2008-01-29 21:21     ` Junio C Hamano
2008-01-29 21:40       ` Max Pollard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox