MCPcopy Create free account
hub / github.com/git/git / wt_longstatus_print_stash_summary

Function wt_longstatus_print_stash_summary

wt-status.c:1019–1028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019static void wt_longstatus_print_stash_summary(struct wt_status *s)
1020{
1021 int stash_count = count_stash_entries(s->repo);
1022
1023 if (stash_count > 0)
1024 status_printf_ln(s, GIT_COLOR_NORMAL,
1025 Q_("Your stash currently has %d entry",
1026 "Your stash currently has %d entries", stash_count),
1027 stash_count);
1028}
1029
1030static void wt_longstatus_print_submodule_summary(struct wt_status *s, int uncommitted)
1031{

Callers 1

wt_longstatus_printFunction · 0.85

Calls 2

count_stash_entriesFunction · 0.85
status_printf_lnFunction · 0.85

Tested by

no test coverage detected