Quote filename
This commit is contained in:
parent
336b20e3e2
commit
5edca3e99a
|
@ -91,7 +91,7 @@ function undelete {
|
|||
|
||||
# Checkout the file from the commit before it was deleted
|
||||
local hash="$(echo $hashes | tail -n 1)"
|
||||
git checkout $hash -- $filename
|
||||
git checkout $hash -- "$filename"
|
||||
}
|
||||
|
||||
alias j='journalctl -xefu'
|
||||
|
|
Loading…
Reference in New Issue