{"thread":{"id":"59738","subject":"bug report git ls-files format","startedAt":"2023-05-13T06:05:28Z","lastAt":"2023-05-13T08:39:01Z","messageCount":2,"participants":["Martin Monperrus","ZheNing Hu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"477246","messageId":"21183ea9-84e2-fd89-eb9b-419556680c07@gnieh.org","threadId":"59738","inReplyTo":null,"subject":"bug report git ls-files format","fromName":"Martin Monperrus","fromEmail":"martin.monperrus@gnieh.org","sentAt":"2023-05-13T05:55:47Z","receivedAt":"2023-05-13T06:05:28Z","isPatch":false,"sender":{"key":"martin.monperrus@gnieh.org","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n\nRun `git ls-files . --format=\"%(objectmode) %(objecttype) %(objectname)%x09%(path)\"`\n\nWhat did you expect to happen? (Expected behavior)\n\nHave the full output per the format specifier\n\nWhat happened instead? (Actual behavior)\n\nfatal: bad ls-files format: %(objecttype)\n\nWhat's different between what you expected and what actually happened?\n\n%(objecttype) is not supported. It is supported in git ls-tree. For sake of consistency it would be \ngood to have it here.\n\nAnything else you want to add:\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.40.1\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64\ncompiler info: gnuc: 12.2\nlibc info: glibc: 2.35\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\npre-commit\n\n"},{"id":"477250","messageId":"CAOLTT8SvqmsjDRFQeMUjbri7mhp14KRxQqeKUq2jvS93u3Ryeg@mail.gmail.com","threadId":"59738","inReplyTo":"21183ea9-84e2-fd89-eb9b-419556680c07@gnieh.org","subject":"Re: bug report git ls-files format","fromName":"ZheNing Hu","fromEmail":"adlternative@gmail.com","sentAt":"2023-05-13T08:39:51Z","receivedAt":"2023-05-13T08:39:01Z","isPatch":false,"sender":{"key":"adlternative@gmail.com","avatar":"https://avatars.githubusercontent.com/u/58138461?v=4"},"body":"Martin Monperrus <martin.monperrus@gnieh.org> 于2023年5月13日周六 14:19写道：\n>\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n>\n> What did you do before the bug happened? (Steps to reproduce your issue)\n>\n> Run `git ls-files . --format=\"%(objectmode) %(objecttype) %(objectname)%x09%(path)\"`\n>\n> What did you expect to happen? (Expected behavior)\n>\n> Have the full output per the format specifier\n>\n> What happened instead? (Actual behavior)\n>\n> fatal: bad ls-files format: %(objecttype)\n>\n> What's different between what you expected and what actually happened?\n>\n> %(objecttype) is not supported. It is supported in git ls-tree. For sake of consistency it would be\n> good to have it here.\n>\n\nIt's not a bug, but completion of the functionality would be better.\nIn addition to %(objecttype), there may also be %(objectsize), and I will submit\na patch to complete it later.\n\n> Anything else you want to add:\n>\n> Please review the rest of the bug report below.\n> You can delete any lines you don't wish to share.\n>\n>\n> [System Info]\n> git version:\n> git version 2.40.1\n> cpu: x86_64\n> no commit associated with this build\n> sizeof-long: 8\n> sizeof-size_t: 8\n> shell-path: /bin/sh\n> uname: Linux 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64\n> compiler info: gnuc: 12.2\n> libc info: glibc: 2.35\n> $SHELL (typically, interactive shell): /bin/bash\n>\n>\n> [Enabled Hooks]\n> pre-commit\n>\n\nThanks,\nZheNing Hu\n"}]}