add new eyes for when the current repo is in the middle of a merge

This commit is contained in:
2025-04-25 02:48:47 -05:00
parent 68634537c0
commit 0e3a7a84e6
3 changed files with 5 additions and 1 deletions

3
XD.c
View File

@ -287,6 +287,9 @@ main(int argc, char *argv[])
if (has_stashes(repo)) {
E("The current git repo has stashed changes.")
P("8"); /* goggle eyes if we have some stashed changes */
} else if (git_repository_state(repo) == GIT_REPOSITORY_STATE_MERGE) {
E("The current git repo is in the middle of a merge.")
P("X"); /* laughing eyes cause the user is fucked */
} else if (git_repository_is_empty(repo)) {
E("This is a new git repo.")
P("B"); /* sunglasses if we're in a new repo with no HEAD */