Abhijeet Sonar
4da8d90fdd
show-index: fix uninitialized hash function
...
In c8aed5e8da (repository: stop setting SHA1 as the default object
hash), we got rid of the default hash algorithm for the_repository.
Due to this change, it is now the responsibility of the callers to set
their own default when this is not present.
As stated in the docs, show-index should use SHA1 as the default hash
algorithm when run outside a repository. Make sure this promise is
met by falling back to SHA1 when the_hash_algo is not present (i.e.
when the command is run outside a repository). Also add a test that
verifies this behavior.
Signed-off-by: Abhijeet Sonar <abhijeet.nkt@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-11-11 12:16:59 +09:00
..
2024-10-11 09:37:17 -07:00
2024-09-23 10:35:09 -07:00
2024-10-25 14:02:36 -04:00
2024-09-13 14:32:24 -07:00
2024-10-11 09:37:18 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-10 13:09:13 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:04 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-10-08 23:35:45 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-25 10:24:54 -07:00
2024-10-08 10:22:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-15 16:56:43 -04:00
2024-10-18 13:56:26 -04:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:26 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:08 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-24 10:54:39 -07:00
2024-10-08 10:22:10 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-24 10:54:39 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:04 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-10-08 10:22:06 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:08 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:05 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:09 -07:00
2024-10-17 16:10:54 -04:00
2024-09-13 14:32:24 -07:00
2024-11-11 12:16:59 +09:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:25 -07:00
2024-09-30 11:23:04 -07:00
2024-09-13 14:32:24 -07:00
2024-10-09 10:48:08 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-10-08 11:49:22 -07:00
2024-09-23 10:35:09 -07:00