Let the update_diff fail if we are not in git repo
This commit is contained in:
parent
551674875d
commit
fb045ec072
|
@ -97,7 +97,6 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
|
|||
}
|
||||
|
||||
update_diff() {
|
||||
git rev-parse --show-toplevel >/dev/null 2>&1 || return
|
||||
git --no-pager diff -U0 "$kak_buffile" | perl -e '
|
||||
$flags = $ENV{"kak_timestamp"};
|
||||
foreach $line (<STDIN>) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user