X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-whatchanged.txt;h=641cb7ea97feee2971f59cd6113dc85bd41b4480;hb=b0d08a504bee17dfc46f761e166ff2c20c59a91a;hp=8a2212de6448f50659df6e86fad2ba7d49ccb6c9;hpb=d06b689a933f6d2130f8afdf1ac0ddb83eeb59ab;p=git.git diff --git a/Documentation/git-whatchanged.txt b/Documentation/git-whatchanged.txt index 8a2212de..641cb7ea 100644 --- a/Documentation/git-whatchanged.txt +++ b/Documentation/git-whatchanged.txt @@ -3,7 +3,7 @@ git-whatchanged(1) NAME ---- -git-whatchanged - Show logs with difference each commit introduces. +git-whatchanged - Show logs with difference each commit introduces SYNOPSIS @@ -43,6 +43,27 @@ OPTIONS can be one of 'raw', 'medium', 'short', 'full', and 'oneline'. +-m:: + By default, differences for merge commits are not shown. + With this flag, show differences to that commit from all + of its parents. ++ +However, it is not very useful in general, although it +*is* useful on a file-by-file basis. + +Examples +-------- +git-whatchanged -p v2.6.12.. include/scsi drivers/scsi:: + + Show as patches the commits since version 'v2.6.12' that changed + any file in the include/scsi or drivers/scsi subdirectories + +git-whatchanged --since="2 weeks ago" -- gitk:: + + Show the changes during the last two weeks to the file 'gitk'. + The "--" is necessary to avoid confusion with the *branch* named + 'gitk' + Author ------