git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Re: blame --ignore-rev - repo-level ignore file
       [not found] <B2997F0D-AEEE-4431-85B8-98831ACF85B6@gmail.com>
@ 2020-04-17 23:39 ` Enji Cooper
  2020-04-18  0:52   ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: Enji Cooper @ 2020-04-17 23:39 UTC (permalink / raw)
  To: git

Hi,
	Given the increased number of C/C++ and python projects that both use git and a tool like black (python formatting tool), or clang-format (C/C++ tool, primarily), I would like to seriously consider revisiting the topic "blame --ignore-rev - repo-level ignore file” topic that was originally started by Terry Davis here [1] (quoted above for historical reference with the reply provided by Barret Rhoden).
	Having a default configuration that can be used with git instead of forcing end-users to set custom configs per repo clone would make it considerably easier for end-users: one could clone a repo, reformat code with an automated tool in a series of known commits, add ignored revisions to the file when using git blame, then make additional changes building off the automated reformatters' changes.
	I will be more than happy to submit patches to make this possible; I just need some guidance in terms of what’s required when contributing changes, etc.
Thank you,
-Enji	

1. https://marc.info/?l=git&m=156864623817929&q=mbox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: blame --ignore-rev - repo-level ignore file
  2020-04-17 23:39 ` blame --ignore-rev - repo-level ignore file Enji Cooper
@ 2020-04-18  0:52   ` Jonathan Nieder
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Nieder @ 2020-04-18  0:52 UTC (permalink / raw)
  To: Enji Cooper; +Cc: git, Barret Rhoden

(+Barret)
Hi!

Enji Cooper wrote:

> Hi,

> Given the increased number of C/C++ and python projects that both
> use git and a tool like black (python formatting tool), or
> clang-format (C/C++ tool, primarily), I would like to seriously
> consider revisiting the topic "blame --ignore-rev - repo-level
> ignore file” topic that was originally started by Terry Davis here
> [1] (quoted above for historical reference with the reply provided
> by Barret Rhoden).
>
> Having a default configuration that can be used with git instead of
> forcing end-users to set custom configs per repo clone would make it
> considerably easier for end-users: one could clone a repo, reformat
> code with an automated tool in a series of known commits, add
> ignored revisions to the file when using git blame, then make
> additional changes building off the automated reformatters' changes.
>
> I will be more than happy to submit patches to make this possible; I
> just need some guidance in terms of what’s required when
> contributing changes, etc.

The first question would be what you expect the end-to-end workflow
to look like for users.  What commands would they run?  How would
they discover them?

As for the general contribution process:
https://www.kernel.org/pub/software/scm/git/docs/MyFirstContribution.html
is a good starting point.

Thanks and hope that helps,
Jonathan

> 1. https://marc.info/?l=git&m=156864623817929&q=mbox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-18  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <B2997F0D-AEEE-4431-85B8-98831ACF85B6@gmail.com>
2020-04-17 23:39 ` blame --ignore-rev - repo-level ignore file Enji Cooper
2020-04-18  0:52   ` Jonathan Nieder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).