mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-12 00:06:18 -04:00
Fix: empty line showing up when when adding files
This commit is contained in:
parent
6ff00ab7b0
commit
1627440394
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue