From 6e5d8a1e6a806b484f2f76125f7cce2316aa5570 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 22 Dec 2024 12:56:47 -0500 Subject: reorder code --- XD.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XD.c') diff --git a/XD.c b/XD.c index 4d66802..122fbce 100644 --- a/XD.c +++ b/XD.c @@ -189,8 +189,8 @@ has_staged(git_repository *repo) git_status_options opts = GIT_STATUS_OPTIONS_INIT; int i, c, r = 0; - opts.flags = GIT_STATUS_INDEX_NEW; opts.show = GIT_STATUS_SHOW_INDEX_ONLY; + opts.flags = GIT_STATUS_INDEX_NEW; if (git_status_list_new(&list, repo, &opts) < 0) { L("Error checking for staged changes: %s", git_error_last()->message); -- cgit v1.2.1