Revert "WIP: Cross-user git arc stage"

It shouldn't have been pushed

This reverts commit 4ed2c3f9ce.
This commit is contained in:
Andrew Turner 2025-04-08 11:59:26 +01:00
parent 10db84e113
commit 960c12f7d5

View file

@ -243,18 +243,12 @@ title2diff()
local title
title=$(echo $1 | sed 's/"/\\"/g')
#arc_list --no-ansi |
# awk -F': ' '{
# if (substr($0, index($0, FS) + length(FS)) == "'"$title"'") {
# print substr($1, match($1, "D[1-9][0-9]*"))
# }
# }'
echo "{
\"queryKey\": \"all\",
\"constraints\": { \"query\": \"title:${title}\" } }" |
arc_call_conduit -- differential.revision.search |
jq -r ".response.data[] | select(.fields.title=\"${title}\") | @text \"D\( .id )\""
arc_list --no-ansi |
awk -F': ' '{
if (substr($0, index($0, FS) + length(FS)) == "'"$title"'") {
print substr($1, match($1, "D[1-9][0-9]*"))
}
}'
}
commit2diff()