From: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
To: git@vger.kernel.org
Subject: various issues with filtering commits from log
Date: Fri, 9 May 2025 11:38:22 +0200 [thread overview]
Message-ID: <aB3NDl518qJmQrJQ@ugly> (raw)
moin!
i have to deal with a repo which has relatively little traffic, except
that a bot is constantly spamming it, making it basically unfeasible to
get a quick overview of what happened.
so i thought, "there certainly is an --exclude-author option, and
ideally, i can persist it in the config as the default".
well, no. what i got is "--perl-regexp --author='^(?!The Bot)'". that's
.. not user friendly.
once i got there, i noticed that --graph tears apart the history. the
manual talks about parent rewriting, but clearly this is not applied to
_this_ kind of history simplification.
so next i tried to approximate the desired result by logging only the
most interesting subdirectory, which the bot luckily doesn't touch. this
actually looks kinda reasonable, with the catch that a lot of tags &
branches are missing from the decorations. this of course makes sense,
as the relevant commits are not listed. however, it would be rather
desirable to have parent rewriting be applied here as well, so "fake"
decorations would be shown (with an indication where this was done).
these issues affect "log --all" particularly strongly, as it's not
really clear what belongs where.
somewhat unsurprisingly, these issues also affect gitk.
reply other threads:[~2025-05-09 9:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aB3NDl518qJmQrJQ@ugly \
--to=oswald.buddenhagen@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox