Eric W. Biederman
c68be1fd31
builtin/ls-tree: let the oid determine the output algorithm
...
Update cmd_ls_tree to call get_oid_with_context and pass
GET_OID_HASH_ANY instead of calling the simpler repo_get_oid.
This implments in ls-tree the behavior that asking to display a sha1
hash displays the corrresponding sha1 encoded object and asking to
display a sha256 hash displayes the corresponding sha256 encoded
object.
This is useful for testing the conversion of an object to an
equivlanet object encoded with a different hash function.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2023-10-02 14:57:40 -07:00
..
2023-07-06 11:54:48 -07:00
2023-10-02 14:57:40 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:41:59 -07:00
2023-07-17 11:30:42 -07:00
2023-07-26 14:13:15 -07:00
2023-07-05 11:41:59 -07:00
2023-08-07 11:57:18 -07:00
2023-10-02 14:57:40 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:42:31 -07:00
2023-06-21 13:39:53 -07:00
2023-10-02 14:57:40 -07:00
2023-07-06 11:54:48 -07:00
2023-10-02 14:57:40 -07:00
2023-07-06 11:54:48 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:54 -07:00
2023-10-02 14:57:40 -07:00
2023-07-17 11:30:42 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:42:31 -07:00
2023-07-05 11:41:59 -07:00
2023-07-06 11:54:46 -07:00
2023-03-28 14:11:24 -07:00
2023-07-28 09:45:21 -07:00
2023-04-11 08:52:10 -07:00
2023-06-21 13:39:53 -07:00
2023-06-29 16:43:21 -07:00
2023-07-13 17:24:00 -07:00
2023-06-21 13:39:53 -07:00
2023-07-17 11:30:42 -07:00
2023-06-21 13:39:54 -07:00
2023-10-02 14:57:39 -07:00
2023-07-05 11:42:31 -07:00
2023-07-27 15:26:37 -07:00
2023-07-05 11:41:59 -07:00
2023-07-21 13:47:26 -07:00
2023-06-21 13:39:53 -07:00
2023-08-19 21:17:32 -07:00
2023-07-17 11:30:42 -07:00
2023-08-15 10:19:47 -07:00
2023-07-05 11:41:59 -07:00
2023-10-02 14:57:40 -07:00
2023-06-21 13:39:54 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:53 -07:00
2023-07-25 12:05:24 -07:00
2023-07-05 11:41:59 -07:00
2023-06-21 13:39:53 -07:00
2023-07-25 12:05:24 -07:00
2023-07-06 11:54:45 -07:00
2023-06-21 13:39:54 -07:00
2023-10-02 14:57:40 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-07-13 17:24:00 -07:00
2023-10-02 14:57:40 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:42:31 -07:00
2023-07-06 11:54:48 -07:00
2023-08-15 10:19:47 -07:00
2023-07-05 11:42:31 -07:00
2023-07-06 11:54:47 -07:00
2023-10-02 14:57:40 -07:00
2023-06-21 13:39:54 -07:00
2023-05-12 14:54:14 -07:00
2023-07-06 11:54:48 -07:00
2023-03-21 10:56:51 -07:00
2023-06-29 16:43:21 -07:00
2023-07-06 11:54:48 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:53 -07:00
2023-10-02 14:57:40 -07:00
2023-07-17 11:30:42 -07:00
2023-07-21 13:47:26 -07:00
2023-07-06 11:54:48 -07:00
2023-03-28 14:11:24 -07:00
2023-03-28 14:11:24 -07:00
2023-08-04 10:52:31 -07:00
2023-08-08 16:49:10 -07:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:41:59 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:54 -07:00
2023-10-02 14:57:40 -07:00
2023-07-05 11:42:31 -07:00
2023-07-05 11:42:31 -07:00
2023-06-28 14:06:39 -07:00
2023-06-21 13:39:53 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-10-02 14:57:40 -07:00
2023-07-06 11:54:46 -07:00
2023-07-17 11:30:42 -07:00
2023-07-05 11:41:18 -07:00
2023-10-02 14:57:39 -07:00
2023-07-05 11:41:59 -07:00
2023-07-25 12:05:24 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-29 16:43:21 -07:00
2023-07-06 11:54:48 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-08-04 10:52:30 -07:00
2023-06-21 13:39:53 -07:00