diff options
| author | Jaydeep Das <jaydeepjd.8914@gmail.com> | 2022-07-11 05:00:50 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-07-10 22:10:23 -0700 |
| commit | 803978da494bf88ee60fb9598c94e25d601c5c32 (patch) | |
| tree | 4ec50d9478d223bc31f4204eec256279cc18d3eb /commit-graph.c | |
| parent | Git 2.37 (diff) | |
| download | git-803978da494bf88ee60fb9598c94e25d601c5c32.tar.gz git-803978da494bf88ee60fb9598c94e25d601c5c32.zip | |
gpg-interface: add function for converting trust level to string
Add new helper function `gpg_trust_level_to_str()` which will
convert a given member of `enum signature_trust_level` to its
corresponding string (in lowercase). For example, `TRUST_ULTIMATE`
will yield the string "ultimate".
This will abstract out some code in `pretty.c` relating to gpg
signature trust levels.
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Jaydeep Das <jaydeepjd.8914@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
