Page MenuHomePhabricator

Weird behaviour of arc diff --edit
Closed, InvalidPublic

Description

I'm using git. I already created a Differential for my HEAD commit, but I updated it to fix review comments and changed the summary in the commit message. The commit already has "Differential Revision: D123".

I do "arc diff --edit"

It asks to interactively edit my commit message, but the message it presents to me is the one from the website, it completely discarded my commit message. Is that intentional? What I want is to update the summary on the website by using the one from my git commit. Is that achievable?

Event Timeline

xclaesse updated the task description. (Show Details)
xclaesse added a project: Arcanist.
xclaesse added a subscriber: xclaesse.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

This is intentional. arc diff --verbatim is the flag you want, or use arc diff --edit to edit from the CLI instead of overwriting your Git commit message.