]> git.99rst.org Git - git.git/commit
rev-parse: add an --output-object-format parameter
authorEric W. Biederman <redacted>
Mon, 2 Oct 2023 02:40:26 +0000 (21:40 -0500)
committerJunio C Hamano <redacted>
Mon, 2 Oct 2023 21:57:40 +0000 (14:57 -0700)
commitd7446c89b8ed57f1fa0a5b2ea5e4b7e5fcb7d9cd
tree84aefe400f967e0a773199e42b4f01bdfa2681a9
parent9ae702faf151802f481e68db8d5cb5b536b31c2a
rev-parse: add an --output-object-format parameter

The new --output-object-format parameter returns the oid in the
specified format.

This is a generally useful plumbing facility.  It is useful for writing
test cases and for directly querying the translation maps.

Signed-off-by: "Eric W. Biederman" <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-rev-parse.txt
builtin/rev-parse.c
git clone https://git.99rst.org/PROJECT