changed tmux things, added ropeproject to gitignore.
This commit is contained in:
parent
bfebc68743
commit
9c4c5551fe
@ -15,7 +15,6 @@ class GitDiffReplacer(object):
|
|||||||
self.replacing_string = replacing_string
|
self.replacing_string = replacing_string
|
||||||
self.verbose = verbose
|
self.verbose = verbose
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def modified_files_command(self):
|
def modified_files_command(self):
|
||||||
return linecmd('git diff {} {} --name-only', self.source_ref,
|
return linecmd('git diff {} {} --name-only', self.source_ref,
|
||||||
|
@ -125,3 +125,13 @@ function git_diff_replacing() {
|
|||||||
test -z $debug || git diff $original_sha $new_sha --name-only | grep -v "$replacing"
|
test -z $debug || git diff $original_sha $new_sha --name-only | grep -v "$replacing"
|
||||||
git diff $original_sha $new_sha --name-only | grep -v "$replacing" | xargs -I filename sh -c "git diff $original_sha:filename $new_sha:"$replace_sha_string
|
git diff $original_sha $new_sha --name-only | grep -v "$replacing" | xargs -I filename sh -c "git diff $original_sha:filename $new_sha:"$replace_sha_string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function git_reset_author() {
|
||||||
|
git filter-branch -f --env-filter '
|
||||||
|
if test "$GIT_COMMITTER_NAME" = "Ivan Malison"
|
||||||
|
then
|
||||||
|
GIT_COMMITTER_EMAIL="IvanMalison@gmail.com"
|
||||||
|
export GIT_COMMITTER_EMAIL
|
||||||
|
fi
|
||||||
|
' -- --all
|
||||||
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
unbind C-o
|
unbind C-g
|
||||||
set -g prefix C-b
|
set -g prefix C-b
|
||||||
bind-key C-b send-prefix
|
bind-key C-b send-prefix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user