summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index dc378df..0e2f262 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -26,6 +26,11 @@
| grep -ve '^. [(]' -e '^..$'\
| awk '/^[\"-$] Untracked/{exit}{print $0}';\
}; git_s"
+ # git se @<project name or another optional tag> ....
+ se = "!git_se() {\
+ local subjpfx=\"PATCH\"; [[ $1 =~ ^@* ]] && subjpfx=\"${1#@}][${subjpfx}\" && shift;\
+ git send-email --subject-prefix=\"${subjpfx}\" \"$@\";\
+ }; git_se"
wc = whatchanged
[core]