Skip to content

Commit 8f2b72a

Browse files
jonasJunio C Hamano
authored andcommitted
Add git-annotate(1) and git-blame(1)
[jc: with entries in git.txt] Signed-off-by: Jonas Fonseca <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f56ef54 commit 8f2b72a

File tree

4 files changed

+92
-1
lines changed

4 files changed

+92
-1
lines changed

Documentation/git-annotate.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 <[email protected]>.
41+
42+
GIT
43+
---
44+
Part of the gitlink:git[7] suite

Documentation/git-blame.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 <[email protected]>.
39+
40+
GIT
41+
---
42+
Part of the gitlink:git[7] suite

Documentation/git.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,12 @@ gitlink:git-update-ref[1]::
399399

400400
Interrogators:
401401

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+
402408
gitlink:git-check-ref-format[1]::
403409
Make sure ref name is well formed.
404410

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,6 @@ check-docs::
671671
@for v in $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk; \
672672
do \
673673
case "$$v" in \
674-
git-annotate | git-blame | \
675674
git-merge-octopus | git-merge-ours | git-merge-recursive | \
676675
git-merge-resolve | git-merge-stupid | \
677676
git-ssh-pull | git-ssh-push ) continue ;; \

0 commit comments

Comments
 (0)