[tor-bugs] #2021 [Development Progress]: Remove binary diffs from Git's commit mails
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Oct 7 14:30:51 UTC 2010
#2021: Remove binary diffs from Git's commit mails
----------------------------------+-----------------------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Development Progress | Version:
Keywords: | Parent:
----------------------------------+-----------------------------------------
Whenever I add/remove/move binary files in Git, the commit mails contain
the full binary diff. These binary diffs bloat the commit mails and aren't
useful at all.
What? You say, there shouldn't be any binary files in Git anyway? But...
what about libraries and generated PDFs? Don't belong there... can't hear
you!
Sebastian says that commit mails are formatted using git-format-patch:
{{{
git-format-patch --subject-prefix="$projectname/${refname#refs/heads/}" \
--stdout "$oldrev..$newrev" |
}}}
I wonder if we can add --no-binary to this line to display a notice that
files changed, but without showing the diff.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2021>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list