diff --git a/helper/git_query.sh b/helper/git_query.sh index 3905feb..eced96b 100644 --- a/helper/git_query.sh +++ b/helper/git_query.sh @@ -119,6 +119,6 @@ function get_modified_file() { | fzf --header="${header}" --preview "echo {} \ | awk '{print \$2}' \ | xargs -I __ /usr/bin/git --git-dir=${DOTBARE_DIR} --work-tree=${DOTBARE_TREE} \ - diff --color=always ${DOTBARE_TREE}/__" \ + diff HEAD --color=always ${DOTBARE_TREE}/__" \ | awk -v home="${DOTBARE_TREE}" '{print home "/" $2}' }