Skip to content
Snippets Groups Projects
Commit 17179f64 authored by Ugo Albanese's avatar Ugo Albanese
Browse files

[NRRPLT-0000] Suppress pushd/popd output

parent 5bc3e87d
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ function nrp_rebase { ...@@ -254,7 +254,7 @@ function nrp_rebase {
echo $i echo $i
echo ------------------------- echo -------------------------
sleep 2 sleep 2
pushd "$i"|| { echo NOT FOUND. You might want to run the clone-all-repos script to get this repo; exit 1; } pushd "$i" > /dev/null 2>&1 || { echo NOT FOUND. You might want to run the clone-all-repos script to get this repo; exit 1; }
# in case there are unstaged changes we prompt the user to stash them # in case there are unstaged changes we prompt the user to stash them
if git status --short | grep -v "??" > /dev/null 2>&1 if git status --short | grep -v "??" > /dev/null 2>&1
...@@ -279,7 +279,7 @@ function nrp_rebase { ...@@ -279,7 +279,7 @@ function nrp_rebase {
git pull --rebase || { echo ERROR; exit 1; } git pull --rebase || { echo ERROR; exit 1; }
popd popd > /dev/null 2>&1
done done
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment