{"thread":{"id":"56904","subject":"[PATCH 0/3] support `--oid-only` in `ls-tree`","startedAt":"2021-11-15T11:46:13Z","lastAt":"2021-11-15T11:46:13Z","messageCount":1,"participants":["Teng Long"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"441132","messageId":"20211115114403.47877-1-dyroneteng@gmail.com","threadId":"56904","inReplyTo":null,"subject":"[PATCH 0/3] support `--oid-only` in `ls-tree`","fromName":"Teng Long","fromEmail":"dyroneteng@gmail.com","sentAt":"2021-11-15T11:44:00Z","receivedAt":"2021-11-15T11:46:13Z","isPatch":true,"sender":{"key":"dyroneteng@gmail.com","avatar":"https://avatars.githubusercontent.com/u/7803958?v=4"},"body":"Sometimes, we only want to get the objects from output of `ls-tree`\nand commands like `sed` or `cut` is usually used to intercept the\norigin output to achieve this purpose in practical.\n\nThe patch contains three commits\n\n    1. Implementation of the option.\n    2. Add new tests in \"t3104\".\n    3. Documentation modifications.\n\nI'm appreciate if someone help to review the patch.\n\nThanks.\n\nTeng Long (3):\n  ls-tree.c: support `--oid-only` option for \"git-ls-tree\"\n  t3104: add related tests for `--oid-only` option\n  git-ls-tree.txt: description of the 'oid-only' option\n\n Documentation/git-ls-tree.txt |  8 +++--\n builtin/ls-tree.c             | 11 +++++++\n t/t3104-ls-tree-oid.sh        | 55 +++++++++++++++++++++++++++++++++++\n 3 files changed, 72 insertions(+), 2 deletions(-)\n create mode 100755 t/t3104-ls-tree-oid.sh\n\n-- \n2.33.1.9.g5fbd2fc599.dirty\n\n"}]}