Added Travis CI status caching task, for status in shell prompts

This commit is contained in:
Nathan Broadbent
2012-01-13 12:07:07 +08:00
parent 0c510f73ff
commit 04ee82b0c8
2 changed files with 28 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ function _git_index_batch_cmd() {
echo -e "== Running command for $_bld_col$(_git_index_count)$_txt_col repos...\n"
unset IFS
for base_path in $(sed -e "s/--.*//" "$GIT_REPO_DIR/.git_index" | grep . | sort); do
cd "$base_path"
if [ -z "$NOCD" ]; then cd "$base_path"; fi
$@
done
else