diff options
author | Squibid <me@zacharyscheiman.com> | 2024-12-22 12:56:47 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-12-22 12:56:47 -0500 |
commit | 6e5d8a1e6a806b484f2f76125f7cce2316aa5570 (patch) | |
tree | 97fa61cdac26878f427496ec60cf0791c053dd34 /XD.c | |
parent | d1752c3ac7546eddb9c150540abe70b81cb15fc8 (diff) | |
download | XD-6e5d8a1e6a806b484f2f76125f7cce2316aa5570.tar.gz XD-6e5d8a1e6a806b484f2f76125f7cce2316aa5570.tar.bz2 XD-6e5d8a1e6a806b484f2f76125f7cce2316aa5570.zip |
reorder code
Diffstat (limited to 'XD.c')
-rw-r--r-- | XD.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |