Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177118504
D60998.1793832289.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D60998.1793832289.diff
View Options
diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -178,7 +178,7 @@
#
arc_call_conduit()
{
- arc call-conduit "$@" | grep -v '^Warning: '
+ "${ARC_CMD}" call-conduit "$@" | grep -v '^Warning: '
}
#
@@ -187,7 +187,7 @@
#
arc_list()
{
- arc list "$@" | grep -v '^Warning: ' | sed -E 's/\x1b\[1m//g;s/\x1b\[m//g'
+ "${ARC_CMD}" list "$@" | grep -v '^Warning: ' | sed -E 's/\x1b\[1m//g;s/\x1b\[m//g'
}
diff2phid()
@@ -370,7 +370,7 @@
fi
yes | EDITOR=true \
- arc diff --message-file "$msg" --never-apply-patches --create \
+ "${ARC_CMD}" diff --message-file "$msg" --never-apply-patches --create \
--allow-untracked $draft $BROWSE --head "$commit" "${commit}~"
[ $? -eq 0 ] || err "could not create Phabricator diff"
@@ -831,7 +831,7 @@
fetch -o /dev/stdout "https://reviews.freebsd.org/${rev}.diff" | \
git -C "$(git rev-parse --show-toplevel)" apply --index --reject
else
- arc patch --skip-dependencies --nobranch --nocommit --force $rev
+ "${ARC_CMD}" patch --skip-dependencies --nobranch --nocommit --force $rev
fi
if ${commit}; then
@@ -1006,10 +1006,10 @@
# This would be tolerable if it didn't try to correct "misspelled" variable
# names.
if [ -n "$have_msg" ]; then
- arc diff --message "$msg" --allow-untracked --never-apply-patches \
+ "${ARC_CMD}" diff --message "$msg" --allow-untracked --never-apply-patches \
--update "$diff" --head "$commit" "${commit}~"
else
- arc diff --allow-untracked --never-apply-patches --update "$diff" \
+ "${ARC_CMD}" diff --allow-untracked --never-apply-patches --update "$diff" \
--head "$commit" "${commit}~"
fi
done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 4, 10:44 PM (1 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41249814
Default Alt Text
D60998.1793832289.diff (1 KB)
Attached To
Mode
D60998: git-arc: use `${ARC_CMD}` instead of `arc`
Attached
Detach File
Event Timeline