From 8ffbe2eadf39b2d6bb8b1ee392c270af0ac0f8ad Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Sat, 5 Aug 2023 06:51:18 -0600 Subject: [PATCH 1/2] docs: convenient line to log everything --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index faf287d..22df8e7 100644 --- a/README.md +++ b/README.md @@ -295,3 +295,9 @@ export GF_COMMAND_LOG_OUTPUT="YES" # log internal commands (pretty noisy) export GF_INTERNAL_COMMAND_DEBUG_MODE="YES" ``` + +Or, log everything: + +``` +GF_DEBUG_MODE="YES" GF_COMMAND_DEBUG_MODE="YES" GF_COMMAND_FZF_DEBUG_MODE="YES" GF_COMMAND_LOG_OUTPUT="YES" GF_INTERNAL_COMMAND_DEBUG_MODE="YES" git fuzzy +``` From 2351d112c54f6431437d3508235053a82c6c1c96 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Sat, 5 Aug 2023 06:51:29 -0600 Subject: [PATCH 2/2] fix(amend): missing `git` on amend command I have no idea how this wasn't caught, or what changed, since I was using this for a week or two before submitting the PR. --- lib/modules/helpers/status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/helpers/status.sh b/lib/modules/helpers/status.sh index 8484316..90d2d4c 100644 --- a/lib/modules/helpers/status.sh +++ b/lib/modules/helpers/status.sh @@ -44,7 +44,7 @@ gf_helper_status_add() { } gf_helper_status_amend() { - gf_command_logged commit --amend --reuse-message=HEAD + gf_command_logged git commit --amend --reuse-message=HEAD } gf_helper_status_add_patch() {