diff --git a/helpers/PsFzfGitHashes-Preview.sh b/helpers/PsFzfGitHashes-Preview.sh index be4751b..050e116 100644 --- a/helpers/PsFzfGitHashes-Preview.sh +++ b/helpers/PsFzfGitHashes-Preview.sh @@ -5,5 +5,5 @@ hash=$1 pushd . > /dev/null cd "$dir" -echo $hash | grep -o "[a-f0-9]\{7,\}" | xargs git show $args +echo $hash | grep -o "[a-f0-9]\{7,\}" -m 1 | head -1 | xargs git show $args popd > /dev/null