{"thread":{"id":"65264","subject":"git --format anyone ?","startedAt":"2026-03-16T10:25:30Z","lastAt":"2026-03-16T15:09:36Z","messageCount":3,"participants":["John Emmas","Kristoffer Haugsbakk"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"539091","messageId":"457209f3-e998-4223-bdf3-57245bc51926@creativepost.co.uk","threadId":"65264","inReplyTo":null,"subject":"git --format anyone ?","fromName":"John Emmas","fromEmail":"john@creativepost.co.uk","sentAt":"2026-03-16T10:12:28Z","receivedAt":"2026-03-16T10:25:30Z","isPatch":false,"sender":{"key":"john@creativepost.co.uk","avatar":null},"body":"I'm hoping this is the right mailing list (I'm using a product called \nGit for Windows and its logo looks the same on your website!)\n\nI'm working on a project which requires me to run \"git --format\" (with \nvarious parameters of course). I'm currently running version 2.51.2 \nwhich looks fairly recent and if I simply type \"git\" it displays a list \nof available options - but it doesn't deem to offer an option called \n'format' :-(\n\nI gather that the latest version is 2.53.0 so would it be worthwhile for \nme to upgrade? i.e. would that then offer me git --format? Thanks,\n\nJohn\n"},{"id":"539100","messageId":"ff0e899a-3d8b-4f46-8585-55881546423b@app.fastmail.com","threadId":"65264","inReplyTo":"457209f3-e998-4223-bdf3-57245bc51926@creativepost.co.uk","subject":"Re: git --format anyone ?","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2026-03-16T11:45:36Z","receivedAt":"2026-03-16T11:45:57Z","isPatch":false,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Mon, Mar 16, 2026, at 11:12, John Emmas wrote:\n> I'm hoping this is the right mailing list (I'm using a product called\n> Git for Windows and its logo looks the same on your website!)\n>\n> I'm working on a project which requires me to run \"git --format\" (with\n> various parameters of course). I'm currently running version 2.51.2\n> which looks fairly recent and if I simply type \"git\" it displays a list\n> of available options - but it doesn't deem to offer an option called\n> 'format' :-(\n>\n> I gather that the latest version is 2.53.0 so would it be worthwhile for\n> me to upgrade? i.e. would that then offer me git --format? Thanks,\n\nThe `git` command itself does not have a `--format` option. Some\nsubcommands do like git-log(1).\n\n    git log --format=<something>\n\n> I'm working on a project which requires me to run \"git --format\" (with\n> various parameters of course).\n\n`git log --format=<something>` is for formatting log output. But since a\nproject “requires it” could this be formatting in the sense of formatting\nsource code?\n\nYou can for example use the third-party git-clang-format(1) on this\nproject. But it is third-party. It is not part of the git(1) suite of\ncommands.\n"},{"id":"539110","messageId":"a6d27f02-bd40-4901-bb0c-0d3a763b512c@creativepost.co.uk","threadId":"65264","inReplyTo":"ff0e899a-3d8b-4f46-8585-55881546423b@app.fastmail.com","subject":"Re: git --format anyone ?","fromName":"John Emmas","fromEmail":"john@creativepost.co.uk","sentAt":"2026-03-16T15:09:26Z","receivedAt":"2026-03-16T15:09:36Z","isPatch":false,"sender":{"key":"john@creativepost.co.uk","avatar":null},"body":"Many thanks Kristoffer,\n\nI'd just posted some further information after realising there's Git \nforum available but your reply makes a lot of sense so thanks for \nletting me know.\n\nJohn\n\n\nOn 16/03/2026 11:45, Kristoffer Haugsbakk wrote:\n> The `git` command itself does not have a `--format` option. Some\n> subcommands do like git-log(1).\n>\n>      git log --format=<something>\n>\n>> I'm working on a project which requires me to run \"git --format\" (with\n>> various parameters of course).\n> `git log --format=<something>` is for formatting log output. But since a\n> project “requires it” could this be formatting in the sense of formatting\n> source code?\n>\n> You can for example use the third-party git-clang-format(1) on this\n> project. But it is third-party. It is not part of the git(1) suite of\n> commands.\n\n"}]}