Add git-annotate(1) and git-blame(1)
[jc: with entries in git.txt] Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jonas Fonseca committed
Mar 6, 2006 at 06:24 UTC
8f2b72a93666afe63ab39b279bbd4088bd5463ca
4 files changed
+92
-1
Documentation/git-annotate.txt
new
+44
@@ -0,0 +1,44 @@
1
+git-annotate(1)
2
+===============
3
+
4
+NAME
5
+----
6
+git-annotate - Annotate file lines with commit info
7
+
8
+SYNOPSIS
9
+--------
10
+git-annotate [options] file [revision]
11
+
12
+DESCRIPTION
13
+-----------
14
+Annotates each line in the given file with information from the commit
15
+which introduced the line. Optionally annotate from a given revision.
16
+
17
+OPTIONS
18
+-------
19
+-l, --long::
20
+ Show long rev (Defaults off).
21
+
22
+-t, --time::
23
+ Show raw timestamp (Defaults off).
24
+
25
+-r, --rename::
26
+ Follow renames (Defaults on).
27
+
28
+-S, --rev-file <revs-file>::
29
+ Use revs from revs-file instead of calling git-rev-list.
30
+
31
+-h, --help::
32
+ Show help message.
33
+
34
+SEE ALSO
35
+--------
36
+gitlink:git-blame[1]
37
+
38
+AUTHOR
39
+------
40
+Written by Ryan Anderson <ryan@michonline.com>.
41
+
42
+GIT
43
+---
44
+Part of the gitlink:git[7] suite
Documentation/git-blame.txt
new
+42
@@ -0,0 +1,42 @@
1
+git-blame(1)
2
+============
3
+
4
+NAME
5
+----
6
+git-blame - Blame file lines on commits
7
+
8
+SYNOPSIS
9
+--------
10
+git-blame file [options] file [revision]
11
+
12
+DESCRIPTION
13
+-----------
14
+Annotates each line in the given file with information from the commit
15
+which introduced the line. Start annotation from the given revision.
16
+
17
+OPTIONS
18
+-------
19
+-c, --compability::
20
+ Use the same output mode as git-annotate (Default: off).
21
+
22
+-l, --long::
23
+ Show long rev (Defaults off).
24
+
25
+-S, --rev-file <revs-file>::
26
+ Use revs from revs-file instead of calling git-rev-list.
27
+
28
+-h, --help::
29
+ Show help message.
30
+
31
+
32
+SEE ALSO
33
+--------
34
+gitlink:git-annotate[1]
35
+
36
+AUTHOR
37
+------
38
+Written by Fredrik Kuivinen <freku045@student.liu.se>.
39
+
40
+GIT
41
+---
42
+Part of the gitlink:git[7] suite
Documentation/git.txt
+6
@@ -399,6 +399,12 @@ gitlink:git-update-ref[1]::
399
400
Interrogators:
401
402
+gitlink:git-annotate[1]::
403
+ Annotate file lines with commit info.
404
+
405
+gitlink:git-blame[1]::
406
+ Blame file lines on commits.
407
+
408
gitlink:git-check-ref-format[1]::
409
Make sure ref name is well formed.
410
Makefile
-1
@@ -671,7 +671,6 @@ check-docs::
671
@for v in $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk; \
672
do \
673
case "$$v" in \
674
- git-annotate | git-blame | \
674
git-merge-octopus | git-merge-ours | git-merge-recursive | \
675
git-merge-resolve | git-merge-stupid | \
676
git-ssh-pull | git-ssh-push ) continue ;; \