Re: how to display file history?
- From
Eric W. Biederman <ebiederm@xmission.com>
- Date
- May 15, 2006, 15:54 UTC
- Message-ID
- <m1ejyv7077.fsf@ebiederm.dsl.xmission.com>
- In-Reply-To
- <7v64k7wzzf.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 19 quoted lines
> "Brown, Len" <len.brown@intel.com> writes: > >> >>> git whatchanged A >> >> thanks. I've used this on entire repos before, but >> for some reason didn't think of this command name >> when looking for individual file history. > > Probably with recent enough git, one of > > git log --stat -- A > git log -p -- A > git log -p --full-diff -- A > > might be more pleasant, depending on what you are trying to look > for. > > "A" can be a single file, more than one files, a directory,...
So that it has a chance of being remembered, and eventually fixed the man pages of git-whatchanged and git-log only sort of tell you that this is even possible. git-whatchanged is certainly worse, but I don't think if I didn't know to look for it I could see the fact that these commands take path names from looking at their man pages.
Eric