git/list[1] front-page[2] threads[3] people[4] search[5] about
 

blame --ignore-rev - add place to specify defaults at repo level

From
TDTerry Davis <terry.y.davis@gmail.com>
Date
Aug 28, 2019, 17:07 UTC
Message-ID
<CAEziGD9bWPfV+L5z_-drATT8Fxvj=8hzNAQcNH9f9Ez+ncaEvw@mail.gmail.com>

The new blame options (--ignore-rev, --ignore-revs-file) and config options (blame.markIgnoredLines, blame.markUnblamables, blame.ignoreRevsFile) are great, and much appreciated. However, for my primary use (one-time automated reformatting of an entire repository), there is still some friction preventing adoption.

Adding a default location for the config options (much like .gitignore) specified above would have the following benefits:

   1. New users of a repository would not need to take the extra step of
   configuring their workspace for blame. This is most impactful for open
   source projects with many contributors.
   2. Git services (github, gitlab, etc.) could incorporate this feature
   into their blame systems automatically.

If this has already been discussed, please point me to the thread, as I am a new member of this list.

If my proposal is worth considering, I'd be happy to provide more input.
--Terry
Next: Barret Rhoden
Message 1 of 2 in “blame --ignore-rev - add place to specify defaults at repo level”
  1. Terry DavisAug 28, 2019
  2. Barret RhodenSep 16, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.