diff options
author | Squibid <me@zacharyscheiman.com> | 2025-04-25 02:48:47 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-04-27 17:30:04 -0500 |
commit | 0e3a7a84e6a90f3ff4ce22307239925d5bbca685 (patch) | |
tree | 2c5f50882f304f07bffbe32f2895cd57a7689ce2 | |
parent | 68634537c043fae1f991302005c81f68a52a3eea (diff) | |
download | XD-3.2.tar.gz XD-3.2.tar.bz2 XD-3.2.zip |
-rw-r--r-- | XD.1 | 1 | ||||
-rw-r--r-- | XD.c | 3 | ||||
-rw-r--r-- | config.mk | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -24,6 +24,7 @@ c;l. :;default \;;in a git repo 8;in a git repo with stashed changes + X;in a git repo during a merge B;in a git repo with no commits .TE .Ss Nose @@ -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 */ @@ -1,4 +1,4 @@ -VERSION = 3.0 +VERSION = 3.2 PKG_CONFIG = pkg-config |