Re: Linux 2.6.13

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

 




On Mon, 29 Aug 2005, Jerome Pinot wrote:
> 
> Using git in the linus tree:
> $ git-whatchanged v2.6.12..v2.6.13 --pretty=full

It's really much nicer to just do

	git log --no-merges v2.6.12..v2.6.13

which gives you a much more readable result.

git-whatchanged is useful if you also want to see the files that got
changed (especially with the "-p" flag to see the whole diff), or if you
want to limit it to a specific subsystem ("git-whatchanged drivers/usb"),
but if you just want the log, use "git log".

That "--pretty=full" this gives you committer information (and you can do
it for "git log" too), but most people probably don't care. In fact, you'd
more often find yourself using "--pretty=short", which only shows the
first line ("head-line" - the subject line of an email patch) of the
commit message.

Additionally, you can pipe the output of "git log" to "git-shortlog", and
you'll get the shortlog format (ie head-line only, and sorted by author).  

Sadly, some commits ended up missing out on the author field (hey, people
were getting started with git), so you have two commits like this:

	commit af25e94d4dcfb9608846242fabdd4e6014e5c9f0
	Author:  <>
	Commit: Tony Luck <[email protected]>
	
	    [IA64] Make ia64 die() preempt safe
	
	    Signed-off-by: Keith Owens <[email protected]>
	    Signed-off-by: Tony Luck <[email protected]>

	commit af2c80e926ad5335d00a8d507928aff4e8ff1877
	Author: ? <?>
	Commit: Thomas Gleixner <[email protected]>
	
	    [MTD] ms02-nv: Fix 64bit operation
	
	    Replace KSEG1ADDR() with CKSEG1ADDR() as the former does not work for
	    64-bit configurations anymore.
	
	    Signed-off-by: Maciej W. Rozycki <[email protected]>
	    Signed-off-by: Thomas Gleixner <[email protected]>

where the author does show up thanks to the sign-off lines, but the git
author information was left empty, so the git-shortlog thing has two 
unattributed changes ;^p

			Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux