Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109575913
D28612.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
D28612.diff
View Options
Index: tools/tools/git/git-arc.sh
===================================================================
--- tools/tools/git/git-arc.sh
+++ 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
Fri, Feb 7, 10:38 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16517615
Default Alt Text
D28612.diff (1 KB)
Attached To
Mode
D28612: git-arc: Use a separate message file
Attached
Detach File
Event Timeline
Log In to Comment