[PATCH 1/6] dim: simplify fetch_all output
Jani Nikula
jani.nikula at intel.com
Fri Jan 11 15:05:58 UTC 2019
If the dim repo name matches the git remote, only print the repo name.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dim b/dim
index 76afd2fbec6f..36fe3c41c555 100755
--- a/dim
+++ b/dim
@@ -656,7 +656,11 @@ function fetch_all
{
for repo in "${!drm_tip_repos[@]}"; do
remote=$(repo_to_remote $repo)
- echo -n "Fetching $repo (local remote $remote)... "
+ if [[ "$repo" = "$remote" ]]; then
+ echo -n "Fetching $repo... "
+ else
+ echo -n "Fetching $repo (local remote $remote)... "
+ fi
git_fetch_helper $remote
echo "Done."
done
--
2.20.1
More information about the dim-tools
mailing list