From: John Emmas <john@creativepost.co.uk>
To: Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>,
git@vger.kernel.org
Subject: Re: git --format anyone ?
Date: Mon, 16 Mar 2026 15:09:26 +0000 [thread overview]
Message-ID: <a6d27f02-bd40-4901-bb0c-0d3a763b512c@creativepost.co.uk> (raw)
In-Reply-To: <ff0e899a-3d8b-4f46-8585-55881546423b@app.fastmail.com>
Many thanks Kristoffer,
I'd just posted some further information after realising there's Git
forum available but your reply makes a lot of sense so thanks for
letting me know.
John
On 16/03/2026 11:45, Kristoffer Haugsbakk wrote:
> The `git` command itself does not have a `--format` option. Some
> subcommands do like git-log(1).
>
> git log --format=<something>
>
>> I'm working on a project which requires me to run "git --format" (with
>> various parameters of course).
> `git log --format=<something>` is for formatting log output. But since a
> project “requires it” could this be formatting in the sense of formatting
> source code?
>
> You can for example use the third-party git-clang-format(1) on this
> project. But it is third-party. It is not part of the git(1) suite of
> commands.
prev parent reply other threads:[~2026-03-16 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 10:12 git --format anyone ? John Emmas
2026-03-16 11:45 ` Kristoffer Haugsbakk
2026-03-16 15:09 ` John Emmas [this message]
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=a6d27f02-bd40-4901-bb0c-0d3a763b512c@creativepost.co.uk \
--to=john@creativepost.co.uk \
--cc=git@vger.kernel.org \
--cc=kristofferhaugsbakk@fastmail.com \
/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