Re: history of a renamed file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Duelli <duelli@xxxxxxxxxxxx> writes:

> Given a repo that contains a file x.c
> that got renamed from
>   some/path/x.c
> to
>   new/location/x.c
> 
> Is it possible (ideally with gitk) to view the complete history of
> what is now new/location/x.c *including* the history of changes that
> occurred when it stil was some/path/x.c?
> When I say "gitk new/location/x.c" I get just the changes made
> starting with the rename.
> When I call "gitk" and look for the changeset, the rename is detected,
> though. Therefore I hope that it is somehow possible to obtain the
> complete file-specific history without truncation at renames.
> 
> Any ideas?

Try --follow option, see git-log(1), although I'm not sure if gitk
supports it (it should).

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux