Project

General

Profile

Actions

Feature #51537

open

use git `Prepare Commit Message` hook to add component in commit title

Added by Deepika Upadhyay almost 3 years ago. Updated about 2 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

git `Prepare Commit Message`[0], add git commit title based on files touched:

will add common component names used based on files touched, while forming a
commit which can be amended if needed or used as is

the workflow should be:
1. developer stages the changes
2. calls git commit -s
3. editor opens to add commit msg, prepopulated with component touched in changes
4. fill the templated commit

[0]https://www.atlassian.com/git/tutorials/git-hooks
blog ref: https://codeburst.io/understanding-git-hooks-in-the-easiest-way-bad9afcbb1b3

Actions #1

Updated by Deepika Upadhyay almost 3 years ago

  • Tags set to low-hanging-fruit
Actions #2

Updated by Deepika Upadhyay almost 3 years ago

  • Translation missing: en.field_tag_list set to low-hanging-fruit, good-first-issue
Actions #3

Updated by Deepika Upadhyay almost 3 years ago

please see `git log` for commonly used component names

Actions #4

Updated by Sebastian Wagner over 2 years ago

also it would be great to have a jenkins job that verifies this!

Actions #5

Updated by Neha Ojha about 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 44872
Actions #6

Updated by Patrick Donnelly about 2 years ago

  • Target version set to v18.0.0
Actions

Also available in: Atom PDF