Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: man/src/git-hyper-blame.txt

Issue 1697423004: git hyper-blame: Added automatically ignoring revs from a file. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Avoid too-long line. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « man/man1/git-hyper-blame.1 ('k') | tests/git_hyper_blame_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/git-hyper-blame.txt
diff --git a/man/src/git-hyper-blame.txt b/man/src/git-hyper-blame.txt
index 8bbe7f7068a33380807db3d424947a007b0a4a34..890b6649a787bafcdaa79f90d6272fe7f3aab7e1 100644
--- a/man/src/git-hyper-blame.txt
+++ b/man/src/git-hyper-blame.txt
@@ -9,7 +9,8 @@ include::_git-hyper-blame_desc.helper.txt[]
SYNOPSIS
--------
[verse]
-'git hyper-blame' [-i <rev> [-i <rev> ...]] [<rev>] [--] <file>
+'git hyper-blame' [-i <rev> [-i <rev> ...]] [--ignore-file=<file>]
+ [--no-default-ignores] [<rev>] [--] <file>
DESCRIPTION
-----------
@@ -27,12 +28,23 @@ Follows the normal `blame` syntax: annotates `<file>` with the revision that
last modified each line. Optional `<rev>` specifies the revision of `<file>` to
start from.
+Automatically looks for a file called `.git-blame-ignore-revs` in the repository
+root directory. This file has the same syntax as the `--ignore-file` argument,
+and any commits mentioned in this file are added to the ignore list.
+
OPTIONS
-------
-i <rev>::
A revision to ignore. Can be specified as many times as needed.
+--ignore-file=<file>::
+ A file containing a list of revisions to ignore. Can have comments beginning
+ with `#`.
+
+--no-default-ignores::
+ Do not ignore commits from the `.git-blame-ignore-revs` file.
+
EXAMPLE
-------
@@ -64,14 +76,6 @@ For this reason, `hyper-blame` works best when the ignored commits are be
limited to minor changes such as formatting and renaming, not refactoring or
other more invasive changes.
-BUGS
-----
-
-- There is currently no way to pass the ignore list as a file.
-- It should be possible for a git repository to configure an automatic list of
- commits to ignore (like `.gitignore`), so that project owners can maintain a
- list of "big change" commits that are ignored by hyper-blame by default.
-
SEE ALSO
--------
linkgit:git-blame[1]
« no previous file with comments | « man/man1/git-hyper-blame.1 ('k') | tests/git_hyper_blame_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698