From 893e98c2e768e8f0c5ccb06a8e177ada4d5aa4c9 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 4 May 2012 15:07:31 -0500 Subject: [PATCH] added comment description of function --- git/git.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git/git.zsh b/git/git.zsh index a0f2c2e..3d6b6d7 100644 --- a/git/git.zsh +++ b/git/git.zsh @@ -12,6 +12,8 @@ alias grm='git rm' alias grn='git_rename' alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" +# a simple git rename file function +# git does not track case-sensitive changes to a filename. function git_rename() { git mv $1 "${2}-" git mv "${2}-" $2