From 16274403945552b5bbedc820045787d5d96aaae4 Mon Sep 17 00:00:00 2001 From: sandroid Date: Thu, 25 Apr 2024 22:51:05 +0200 Subject: [PATCH] Fix: empty line showing up when when adding files --- bin/git-forgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-forgit b/bin/git-forgit index 43c659b..3ecfb28 100755 --- a/bin/git-forgit +++ b/bin/git-forgit @@ -171,7 +171,7 @@ _forgit_list_files() { # merge conflict. # With the -z flag, git also uses \0 line termination, so we # have to replace the terminators. - git ls-files -z "$@" "$rootdir" | uniq | tr '\0' '\n' + git ls-files -z "$@" "$rootdir" | tr '\0' '\n' | uniq } _forgit_log_preview() {