From: "M. B." <tomboy64@sina.cn>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/tbc:master commit in: tools/
Date: Sun, 5 Jun 2016 17:35:47 +0000 (UTC) [thread overview]
Message-ID: <1465124479.7ffea4126bfece837ad78ef214d00ddb20a9c8d2.tomboy64@gentoo> (raw)
commit: 7ffea4126bfece837ad78ef214d00ddb20a9c8d2
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Sun Jun 5 11:01:19 2016 +0000
Commit: M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Sun Jun 5 11:01:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=7ffea412
update ortrta.sh
tools/ortrta.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/ortrta.sh b/tools/ortrta.sh
index 0d5d38f..281df2c 100755
--- a/tools/ortrta.sh
+++ b/tools/ortrta.sh
@@ -9,6 +9,7 @@ errorout() {
}
repoman_this() {
+ local gitdir=$(git rev-parse --show-toplevel)
local ebuilds=( $(git diff --numstat HEAD^ | cut -f3 | grep '\.ebuild') )
local dirs=()
for i in ${ebuilds[@]}; do
@@ -22,7 +23,7 @@ repoman_this() {
done
if [[ ${inIt} -eq 0 ]]; then
dirs+="${dir}"
- pushd ${dir}
+ pushd "${gitdir}/${dir}"
repoman full
popd 2>&1 > /dev/null
fi
@@ -45,7 +46,7 @@ choose() {
case ${response} in
d )
- git diff --find-renames --find-copies --find-copies-harder --color=always HEAD^ | cat
+ git diff --find-renames --find-copies --find-copies-harder --color=always HEAD^
;;
e )
exit 0
@@ -80,7 +81,7 @@ choose() {
resume() {
count=$(GIT_EDITOR='cat' git rebase --edit-todo | grep -v '^#' | wc -l)
while [[ ${count} -ge 0 ]]; do
- git diff --color --stat HEAD^ | cat
+ git diff --color --find-renames --find-copies --find-copies-harder --stat HEAD^ | cat
echo "left: ${count}"
count=$(( count - 1 ))
choose
next reply other threads:[~2016-06-05 17:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-05 17:35 M. B. [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-01 15:49 [gentoo-commits] repo/user/tbc:master commit in: tools/ M. B.
2016-05-31 14:06 M. B.
2016-05-31 13:46 M. B.
2016-05-28 12:04 M. B.
2016-05-27 22:44 M. B.
2016-05-27 4:11 M. B.
2016-05-25 13:03 M. B.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465124479.7ffea4126bfece837ad78ef214d00ddb20a9c8d2.tomboy64@gentoo \
--to=tomboy64@sina.cn \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox