Bogue quand git ls-files affiche plus d'une ligne.
This commit is contained in:
parent
44c9f8915e
commit
725a275803
|
@ -51,7 +51,7 @@ help() {
|
|||
echo -e "\e[1mq\e[m : quit"
|
||||
}
|
||||
|
||||
fullpath="$(git ls-files --full-name "$file")"
|
||||
fullpath="$(git ls-files --full-name "$file" | head -n 1)"
|
||||
i=0
|
||||
for ab in $(git log --oneline "$file" | cut -d ' ' -f 1 | tac); do
|
||||
rev[i]="$ab"
|
||||
|
|
Loading…
Reference in New Issue
Block a user