Skip to content

Commit a40449b

Browse files
pks-tgitster
authored andcommitted
fetch: drop unused DISPLAY_FORMAT_UNKNOWN enum value
With 5095793 (fetch: introduce `display_format` enum, 2023-05-10), a new enumeration was introduced to determine the display format that is to be used by git-fetch(1). The `DISPLAY_FORMAT_UNKNOWN` value isn't ever used though, and neither do we rely on the explicit `0` value for initialization anywhere. Remove the enum value. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0df2c18 commit a40449b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

builtin/fetch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ enum {
5858
};
5959

6060
enum display_format {
61-
DISPLAY_FORMAT_UNKNOWN = 0,
6261
DISPLAY_FORMAT_FULL,
6362
DISPLAY_FORMAT_COMPACT,
6463
DISPLAY_FORMAT_PORCELAIN,

0 commit comments

Comments
 (0)