... | ... |
@@ -260,6 +260,19 @@ |
260 | 260 |
| eval \"LESS=${LESS-FRX} $(git var GIT_PAGER)\"; \ |
261 | 261 |
}; f" |
262 | 262 |
|
263 |
+ ; Filter meta. |
|
264 |
+ filter-meta = "!f() { : git filter-branch ; \ |
|
265 |
+ name=\"$1\"; shift; \ |
|
266 |
+ email=\"$1\"; shift; \ |
|
267 |
+ git filter-branch \"$@\" --env-filter \" \ |
|
268 |
+ GIT_AUTHOR_NAME=\\\"$name\\\"; \ |
|
269 |
+ GIT_AUTHOR_EMAIL=\\\"$email\\\"; \ |
|
270 |
+ GIT_COMMITTER_NAME=\\\"$name\\\"; \ |
|
271 |
+ GIT_COMMITTER_EMAIL=\\\"$email\\\"; \ |
|
272 |
+ GIT_COMMITTER_DATE=\\\"\\$GIT_AUTHOR_DATE\\\"; \ |
|
273 |
+ \" ; \ |
|
274 |
+ }; f" |
|
275 |
+ |
|
263 | 276 |
; Log. |
264 | 277 |
l = "!f() { : git log ; \ |
265 | 278 |
git config --get-colorbool color.diff && color_diff=always; \ |