• mgiuca@chromium.org's avatar
    git hyper-blame: Added automatically ignoring revs from a file. · cd0a1cf3
    mgiuca@chromium.org authored
    Added --ignore-file argument, so you can specify ignored commits in a
    file rather than as raw command-line arguments. Also, automatically
    searches for a file called .git-blame-ignore-revs, which is
    automatically used as an ignore list by default.
    
    Also, specifying an unknown revision (either on the command line or in a
    file) now generates a warning, not an error.
    
    Notes on some decisions:
    - The file is called .git-blame-ignore-revs (not mentioning hyper-blame)
      because we may use the same list in tools other than hyper-blame in
      the future.
    - We look at the *currently checked out* version of
      .git-blame-ignore-revs (not the version at the specified revision) for
      consistency with .git-ignore. Because we only expect revisions to be
      added (not deleted), it should be fine to use an ignore list from a
      newer version than the revision being blamed.
    - We considered using git notes for the ignore list so that you could
      add a revision to the ignore list without needing a follow-up CL.
      However, there are some problems with this approach. git notes is not
      automatically synced with git clone/pull. Also the Chromium infra
      tools (Reitveld, CQ) are not set up to allow modification of git
      notes, nor are changes to git notes subject to OWNERS checks. Using a
      regular file ensures all users synced to a particular revision are
      using the same ignore list.
    
    BUG=574290
    
    Review URL: https://codereview.chromium.org/1697423004
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298897 0039d316-1c4b-4281-b951-d872f2087c98
    cd0a1cf3
Name
Last commit
Last update
..
.gitignore Loading commit data...
_aliases.txt Loading commit data...
_footer.txt Loading commit data...
_git-auto-svn_desc.helper.txt Loading commit data...
_git-cherry-pick-upload_desc.helper.txt Loading commit data...
_git-drover_desc.helper.txt Loading commit data...
_git-footers_desc.helper.txt Loading commit data...
_git-freeze_desc.helper.txt Loading commit data...
_git-hyper-blame_desc.helper.txt Loading commit data...
_git-map-branches_desc.helper.txt Loading commit data...
_git-map_desc.helper.txt Loading commit data...
_git-mark-merge-base_desc.helper.txt Loading commit data...
_git-nav-downstream_desc.helper.txt Loading commit data...
_git-nav-upstream_desc.helper.txt Loading commit data...
_git-new-branch_desc.helper.txt Loading commit data...
_git-rebase-update_desc.helper.txt Loading commit data...
_git-rename-branch_desc.helper.txt Loading commit data...
_git-reparent-branch_desc.helper.txt Loading commit data...
_git-retry_desc.helper.txt Loading commit data...
_git-squash-branch_desc.helper.txt Loading commit data...
_git-thaw_desc.helper.txt Loading commit data...
_git-upstream-diff_desc.helper.txt Loading commit data...
_helper_prefix.txt Loading commit data...
asciidoc-override.css Loading commit data...
common_demo_functions.sh Loading commit data...
demo_repo.sh Loading commit data...
depot_tools.txt Loading commit data...
depot_tools_tutorial.demo.walkthrough.sh Loading commit data...
depot_tools_tutorial.txt Loading commit data...
filter_demo_output.py Loading commit data...
git-auto-svn.txt Loading commit data...
git-cherry-pick-upload.demo.1.sh Loading commit data...
git-cherry-pick-upload.txt Loading commit data...
git-drover.demo.1.sh Loading commit data...
git-drover.demo.2.sh Loading commit data...
git-drover.demo.3.sh Loading commit data...
git-drover.demo.4.sh Loading commit data...
git-drover.demo.common.sh Loading commit data...
git-drover.txt Loading commit data...
git-footers.demo.1.sh Loading commit data...
git-footers.txt Loading commit data...
git-freeze.demo.1.sh Loading commit data...
git-freeze.txt Loading commit data...
git-hyper-blame.demo.1.sh Loading commit data...
git-hyper-blame.demo.2.sh Loading commit data...
git-hyper-blame.demo.common.sh Loading commit data...
git-hyper-blame.txt Loading commit data...
git-map-branches.demo.1.sh Loading commit data...
git-map-branches.txt Loading commit data...
git-map.demo.1.sh Loading commit data...
git-map.txt Loading commit data...
git-mark-merge-base.txt Loading commit data...
git-nav-downstream.demo.1.sh Loading commit data...
git-nav-downstream.txt Loading commit data...
git-nav-upstream.demo.1.sh Loading commit data...
git-nav-upstream.txt Loading commit data...
git-new-branch.demo.1.sh Loading commit data...
git-new-branch.txt Loading commit data...
git-rebase-update.txt Loading commit data...
git-rename-branch.txt Loading commit data...
git-reparent-branch.txt Loading commit data...
git-retry.txt Loading commit data...
git-squash-branch.demo.1.sh Loading commit data...
git-squash-branch.txt Loading commit data...
git-thaw.txt Loading commit data...
git-upstream-diff.txt Loading commit data...
make_docs.sh Loading commit data...
prep_demo_repo.sh Loading commit data...