8000 fix(git): Use case insensitive search in cm/cc · musq/dotfiles@e91ae99 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit e91ae99

Browse files
committed
fix(git): Use case insensitive search in cm/cc
1 parent 458f8c0 commit e91ae99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/git/config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
# Find commits by source code.
9797

9898
cc = "!f() { \
99-
git log --pretty=custom --decorate --date=short -S\"$1\"; \
99+
git log --pretty=custom --decorate --date=short --regexp-ignore-case -S\"$1\"; \
100100
}; f"
101101

102102
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -122,7 +122,7 @@
122122
# Find commits by commit message.
123123

124124
cm = "!f() { \
125-
git log --pretty=custom --decorate --date=short --grep=\"$1\"; \
125+
git log --pretty=custom --decorate --date=short --regexp-ignore-case --grep=\"$1\"; \
126126
}; f"
127127

128128
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

0 commit comments

Comments
 (0)
0