Skip to content
Snippets Groups Projects
Commit 7ce600ce authored by Ander Conselvan de Oliveira's avatar Ander Conselvan de Oliveira
Browse files

dim: Replace git commit --amend from dim_apply with dimrc option


Introduce DIM_POST_APPLY_ACTION to dimrc that allows the user to specify
a command to be run after a patch is applied. Use eval so enviroment
variables can be overriden with the option. For example:

DIM_POST_APPLY_ACTION="EDITOR=\"gedit -w\" git commit --amend"

v2: Initialize variable with default value.
    Fix dimrc.sample to match default value.

Signed-off-by: default avatarAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 85ec47a7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment