]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'fixes'
authorJunio C Hamano <junkio@cox.net>
Tue, 1 Nov 2005 02:08:22 +0000 (18:08 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 1 Nov 2005 02:08:22 +0000 (18:08 -0800)
Documentation/git-log.txt
Documentation/git-whatchanged.txt
Documentation/gitk.txt

index 13a3998302a2817bb36d7555f171311ce19a3d0c..9cac0886cf3b03fd5c4454b1a0ea1920dd0edaf8 100644 (file)
@@ -30,6 +30,24 @@ OPTIONS
        Show only commits between the named two commits.
 
 
+Examples
+--------
+git log --no-merges::
+
+       Show the whole commit history, but skip any merges
+
+git log v2.6.12.. include/scsi drivers/scsi::
+
+       Show all commits since version 'v2.6.12' that changed any file
+       in the include/scsi or drivers/scsi subdirectories
+
+git log --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
 ------
 Written by Linus Torvalds <torvalds@osdl.org>
index e6f57d9bc1a318ed332c3b46a10d6de824a37a07..6c150b0264ac5caf326ad5b0d2da225a241b77f2 100644 (file)
@@ -51,6 +51,20 @@ OPTIONS
        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
 ------
 Written by Linus Torvalds <torvalds@osdl.org> and
index e5ef6d6f47681b86b9cbae3c5b9443cf873d2767..eb126d7a4b02c979709dff716eb9c9a64c169952 100644 (file)
@@ -24,6 +24,19 @@ OPTIONS
        Some argument not yet documented.
 
 
+Examples
+--------
+gitk v2.6.12.. include/scsi drivers/scsi::
+
+       Show as the changes since version 'v2.6.12' that changed any
+       file in the include/scsi or drivers/scsi subdirectories
+
+gitk --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
 ------
 Written by Paul Mackerras <paulus@samba.org>