From: Martin Monperrus <martin.monperrus@gnieh.org>
To: git@vger.kernel.org
Subject: bug report git ls-files format
Date: Sat, 13 May 2023 07:55:47 +0200 [thread overview]
Message-ID: <21183ea9-84e2-fd89-eb9b-419556680c07@gnieh.org> (raw)
Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.
What did you do before the bug happened? (Steps to reproduce your issue)
Run `git ls-files . --format="%(objectmode) %(objecttype) %(objectname)%x09%(path)"`
What did you expect to happen? (Expected behavior)
Have the full output per the format specifier
What happened instead? (Actual behavior)
fatal: bad ls-files format: %(objecttype)
What's different between what you expected and what actually happened?
%(objecttype) is not supported. It is supported in git ls-tree. For sake of consistency it would be
good to have it here.
Anything else you want to add:
Please review the rest of the bug report below.
You can delete any lines you don't wish to share.
[System Info]
git version:
git version 2.40.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64
compiler info: gnuc: 12.2
libc info: glibc: 2.35
$SHELL (typically, interactive shell): /bin/bash
[Enabled Hooks]
pre-commit
next reply other threads:[~2023-05-13 6:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-13 5:55 Martin Monperrus [this message]
2023-05-13 8:39 ` bug report git ls-files format ZheNing Hu
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=21183ea9-84e2-fd89-eb9b-419556680c07@gnieh.org \
--to=martin.monperrus@gnieh.org \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).