Page MenuHomePhabricator

Magic in commit messages
Closed, ResolvedPublic

Asked by michelf on Mar 30 2013, 1:46 AM.

Details

In a commit message, you can add Auditor: username to ask for an audit by this person. Are there other things you can do from a commit message? I'm thinking about automatically associating the commit with a task and possibly closing the task.

Answers

AnhNhan
Updated 2,243 Days Ago

There are two ways:

  1. Look through all the field specifications (https://secure.phabricator.com/diffusion/P/browse/master/src/applications/differential/field/specification/)
  2. Read many, many commit messages

Your wish may be fulfilled, though. You can do Fixes T123, Invalidates T123 or just Refs T123, put that up in the revision message (while sending in per arc diff). When you run arc land, we'll automatically close the tasks for you, as well as associate the commits. Cool, huh?

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.