ZIm/crates/git/src
Marshall Bowers c77d2eb73f
Increase short SHA length to 7 characters (#11492)
This PR increases the length of a shortened Git SHA from 6 to 7
characters.

This matches what GitHub uses.

I also took the opportunity to factor out a common method for computing
a short SHA so that we have a single source of truth for the length that
we're using.

Release Notes:

- Increased the short commit SHA length used by git blame from 6 to 7
characters.
2024-05-07 11:10:44 -04:00
..
blame.rs Add a registry for GitHostingProviders (#11470) 2024-05-06 21:24:48 -04:00
commit.rs git: Do not log error if repository has no commits (#11163) 2024-04-29 16:00:29 +02:00
diff.rs Use Rope instead of String for buffer diff base (#11300) 2024-05-03 11:18:43 +03:00
git.rs Increase short SHA length to 7 characters (#11492) 2024-05-07 11:10:44 -04:00
hosting_provider.rs Add a registry for GitHostingProviders (#11470) 2024-05-06 21:24:48 -04:00
repository.rs Add a registry for GitHostingProviders (#11470) 2024-05-06 21:24:48 -04:00