# HG changeset patch # User Ludovic Chabant # Date 1490310024 25200 # Node ID 8bac4b955c84582ba7017e7405469a3517e4b5c3 # Parent 3d7f2bf017fd5ad7ce5268ca534a0cf7a60f6147# Parent 411f3fa915f566186fbceea73518101aba186f1d Merge pull request #117 from GitHub. diff -r 411f3fa915f5 -r 8bac4b955c84 autoload/gutentags.vim --- a/autoload/gutentags.vim Mon Mar 13 12:07:21 2017 -0300 +++ b/autoload/gutentags.vim Thu Mar 23 16:00:24 2017 -0700 @@ -147,7 +147,7 @@ endif while l:path != l:previous_path for root in l:markers - if !empty(globpath(l:path, root)) + if !empty(globpath(l:path, root, 1)) let l:proj_dir = simplify(fnamemodify(l:path, ':p')) let l:proj_dir = gutentags#stripslash(l:proj_dir) if l:proj_dir == '' diff -r 411f3fa915f5 -r 8bac4b955c84 plat/unix/update_tags.sh --- a/plat/unix/update_tags.sh Mon Mar 13 12:07:21 2017 -0300 +++ b/plat/unix/update_tags.sh Thu Mar 23 16:00:24 2017 -0700 @@ -104,10 +104,10 @@ if [ $INDEX_WHOLE_PROJECT -eq 1 ]; then if [ -n "${FILE_LIST_CMD}" ]; then if [ "${PROJECT_ROOT}" = "." ] || [ $FILE_LIST_CMD_IS_ABSOLUTE -eq 1 ]; then - $FILE_LIST_CMD > "${TAGS_FILE}.files" + eval $FILE_LIST_CMD > "${TAGS_FILE}.files" else # If using a tags cache directory, use absolute paths - $FILE_LIST_CMD | while read -r l; do + eval $FILE_LIST_CMD | while read -r l; do echo "${PROJECT_ROOT%/}/${l}" done > "${TAGS_FILE}.files" fi