Skip to content

Commit

Permalink
Add git-annotate(1) and git-blame(1)
Browse files Browse the repository at this point in the history
[jc: with entries in git.txt]

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jonas Fonseca authored and Junio C Hamano committed Apr 18, 2006
1 parent f56ef54 commit 8f2b72a
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 1 deletion.
44 changes: 44 additions & 0 deletions Documentation/git-annotate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
git-annotate(1)
===============

NAME
----
git-annotate - Annotate file lines with commit info

SYNOPSIS
--------
git-annotate [options] file [revision]

DESCRIPTION
-----------
Annotates each line in the given file with information from the commit
which introduced the line. Optionally annotate from a given revision.

OPTIONS
-------
-l, --long::
Show long rev (Defaults off).

-t, --time::
Show raw timestamp (Defaults off).

-r, --rename::
Follow renames (Defaults on).

-S, --rev-file <revs-file>::
Use revs from revs-file instead of calling git-rev-list.

-h, --help::
Show help message.

SEE ALSO
--------
gitlink:git-blame[1]

AUTHOR
------
Written by Ryan Anderson <ryan@michonline.com>.

GIT
---
Part of the gitlink:git[7] suite
42 changes: 42 additions & 0 deletions Documentation/git-blame.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
git-blame(1)
============

NAME
----
git-blame - Blame file lines on commits

SYNOPSIS
--------
git-blame file [options] file [revision]

DESCRIPTION
-----------
Annotates each line in the given file with information from the commit
which introduced the line. Start annotation from the given revision.

OPTIONS
-------
-c, --compability::
Use the same output mode as git-annotate (Default: off).

-l, --long::
Show long rev (Defaults off).

-S, --rev-file <revs-file>::
Use revs from revs-file instead of calling git-rev-list.

-h, --help::
Show help message.


SEE ALSO
--------
gitlink:git-annotate[1]

AUTHOR
------
Written by Fredrik Kuivinen <freku045@student.liu.se>.

GIT
---
Part of the gitlink:git[7] suite
6 changes: 6 additions & 0 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ gitlink:git-update-ref[1]::

Interrogators:

gitlink:git-annotate[1]::
Annotate file lines with commit info.

gitlink:git-blame[1]::
Blame file lines on commits.

gitlink:git-check-ref-format[1]::
Make sure ref name is well formed.

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ check-docs::
@for v in $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk; \
do \
case "$$v" in \
git-annotate | git-blame | \
git-merge-octopus | git-merge-ours | git-merge-recursive | \
git-merge-resolve | git-merge-stupid | \
git-ssh-pull | git-ssh-push ) continue ;; \
Expand Down

0 comments on commit 8f2b72a

Please sign in to comment.