diff options
author | Squibid <me@zacharyscheiman.com> | 2025-04-25 02:48:47 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-04-25 02:50:44 -0500 |
commit | 0c02943125b0f3bbb8754bcb6b73bd927b39de69 (patch) | |
tree | 7b31d1afaccec12b99ca4e54323fe636ccff41b0 /XD.c | |
parent | 68634537c043fae1f991302005c81f68a52a3eea (diff) | |
download | XD-0c02943125b0f3bbb8754bcb6b73bd927b39de69.tar.gz XD-0c02943125b0f3bbb8754bcb6b73bd927b39de69.tar.bz2 XD-0c02943125b0f3bbb8754bcb6b73bd927b39de69.zip |
add new eyes for when the current repo is in the middle of a merge
Diffstat (limited to 'XD.c')
-rw-r--r-- | XD.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |