diff --git a/dotfiles/emacs.d b/dotfiles/emacs.d index 3a01d4be..281d63b5 160000 --- a/dotfiles/emacs.d +++ b/dotfiles/emacs.d @@ -1 +1 @@ -Subproject commit 3a01d4be1d0c953cd1c4f293e8d0b32b543a2131 +Subproject commit 281d63b51cfb26dbd816318b01f10bb81ed87cf1 diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 9c2a028e..82e306ba 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -45,6 +45,8 @@ clean-branches = "!r() { git branch -r --merged ${1-origin/master} | xargs -n1 git branch -d; }; r" diff-excluding = "!f() { exclude=$1; shift; git diff $1 $2 --name-only | grep -v $exclude | xargs git diff "$@" --; }; f" aliases = "!f() { git config --get-regexp ^alias | cut -c 7-; }; f" + file-exists = "!f() { git ls-files $1 --error-unmatch > /dev/null 2> /dev/null; }; f" + shas = log HEAD --pretty=format:%H [core] # Use custom `.gitignore` and `.gitattributes`