Skip to content

Allow to configure cherry-pick's record origin

Guido Günther git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3revert.c: Allow to specify -x via git-configDocumentation/config.txt Documentation/git-cherry-pick.txt builtin/revert.c+25 -11 reply
2/3revert.c: Add --record-originDocumentation/git-cherry-pick.txt builtin/revert.c+2 -10 replies
3/3revert.c Allow to override cherrypick.recordOriginDocumentation/git-cherry-pick.txt builtin/revert.c+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Allow to configure cherry-pick's record origin

The main motivation is to be able to configure repos that are used for maintaining backports/stable branches and not having to remember to use a special invocation of git cherry-pick.

Changes from last version:

* add --no-record-origin so scripts can make sure they'll never record a commit id
* add --record-origin for symmetry with config file option and --no-record-origin
* Add docs to git-config as well

Guido Günther (3):
revert.c: Allow to specify -x via git-config revert.c: Add --record-origin
revert.c Allow to override cherrypick.recordOrigin

 Documentation/config.txt          |  4 ++++
 Documentation/git-cherry-pick.txt | 13 +++++++++++++
 builtin/revert.c                  | 22 ++++++++++++++++++++--
 3 files changed, 37 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.0.rc3