Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146563559
D28614.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28614.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
@@ -217,7 +217,7 @@
create_one_review()
{
- local childphid commit dir doprompt msg parent parentphid reviewers
+ local childphid commit doprompt msg parent parentphid reviewers
local subscribers
commit=$1
@@ -232,10 +232,7 @@
git checkout -q $commit
- dir=$(git rev-parse --git-dir)/arc
- mkdir -p "$dir"
-
- msg=${dir}/create-message
+ msg=$(mktemp)
git show -s --format='%B' $commit > $msg
printf "\nTest Plan:\n" >> $msg
printf "\nReviewers:\n" >> $msg
@@ -244,7 +241,7 @@
printf "${subscribers}\n" >> $msg
yes | env EDITOR=true \
- arc diff --never-apply-patches --create --allow-untracked $BROWSE HEAD~
+ arc diff --message-file $msg --never-apply-patches --create --allow-untracked $BROWSE HEAD~
[ $? -eq 0 ] || err "could not create Phabricator diff"
if [ -n "$parent" ]; then
@@ -263,6 +260,7 @@
]}' |
arc call-conduit -- differential.revision.edit >&3
fi
+ rm -f $msg
return 0
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 4, 4:38 PM (3 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29250231
Default Alt Text
D28614.diff (1 KB)
Attached To
Mode
D28614: git-arc: Use a separate message file
Attached
Detach File
Event Timeline
Log In to Comment