simplify git bre

Thu, 16 Jun 2016 17:31:32 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 Jun 2016 17:31:32 -0400
changeset 337
1aed142faa16
parent 336
a921d84589cf
child 338
296f4b036ae3

simplify git bre

.gitconfig file | annotate | diff | comparison | revisions
--- a/.gitconfig
+++ b/.gitconfig
@@ -31,8 +31,7 @@
 	ctags   = "!~/.git_helpers/ctags"
 	glog    = log --graph --pretty=onelinecustom
 	recent  = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@"
-	bre     = !vim $(git diff --name-only @{u}..)
-	brer    = !vim --remote $(git diff --name-only @{u}..)
+	bre     = !$EDITOR $@ $(git diff --name-only @{u}..)
 
 [pretty]
 	onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset

mercurial