From 07b2f6c9fb027fc98763d926388d0a6636ec6b5e Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 3 Sep 2016 18:53:33 +0100 Subject: [PATCH] test --- etc/profile.d/nb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index fe2f7125..49111824 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -6,7 +6,7 @@ nb_repos_commit_push() { cd "$i" || continue printf ">%s\n" "$i" - git commit -a -m "$*" && git push | sed 's/^/ /' + git commit --all --quiet --message "$*" && git push | sed 's/^/ /' done cd "$pwd" } @@ -18,7 +18,7 @@ nb_repos_status() { for i in $(nb-repo-dirs); do cd "$i" || continue - status=$(git status -s "$i"|sed 's/^/ /') + status=$(git status --short "$i"|sed 's/^/ /') [ -z "$status" ] || status=$'\n'"$status" printf ">%s%s\n" "$i" "$status" -- 2.47.3