forked from newren/git-filter-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter-repo: add new --replace-message option
Like --replace-text, add an option --replace-message which replaces text in commit/tag message bodies, so that users can easily replace text without constructing a --message-callback. Signed-off-by: Gwyneth Morgan <[email protected]> Signed-off-by: Elijah Newren <[email protected]>
- Loading branch information
Showing
5 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
feature done | ||
blob | ||
mark :1 | ||
data 8 | ||
initial | ||
|
||
reset refs/heads/B | ||
commit refs/heads/B | ||
mark :2 | ||
author Little O. Me <[email protected]> 1535228562 -0700 | ||
committer Little O. Me <[email protected]> 1535228562 -0700 | ||
data 9 | ||
Modified | ||
M 100644 :1 filename | ||
M 100644 :1 ten | ||
M 100644 :1 twenty | ||
|
||
blob | ||
mark :3 | ||
data 11 | ||
twenty-mod | ||
|
||
commit refs/heads/B | ||
mark :4 | ||
author Little 'ol Me <me@laptop.(none)> 1535229544 -0700 | ||
committer Little 'ol Me <me@laptop.(none)> 1535229544 -0700 | ||
data 18 | ||
add the number 20 | ||
from :2 | ||
M 100644 :3 twenty | ||
|
||
blob | ||
mark :5 | ||
data 8 | ||
ten-mod | ||
|
||
commit refs/heads/A | ||
mark :6 | ||
author Little O. Me <[email protected]> 1535229523 -0700 | ||
committer Little O. Me <[email protected]> 1535229523 -0700 | ||
data 8 | ||
add ten | ||
from :2 | ||
M 100644 :5 ten | ||
|
||
commit refs/heads/master | ||
mark :7 | ||
author Lit.e Me <[email protected]> 1535229559 -0700 | ||
committer Lit.e Me <[email protected]> 1535229580 -0700 | ||
data 24 | ||
Merge branch 'A' into B | ||
from :4 | ||
merge :6 | ||
M 100644 :5 ten | ||
|
||
blob | ||
mark :8 | ||
data 6 | ||
final | ||
|
||
commit refs/heads/master | ||
mark :9 | ||
author Little Me <[email protected]> 1535229601 -0700 | ||
committer Little Me <[email protected]> 1535229601 -0700 | ||
data 9 | ||
whatever | ||
from :7 | ||
M 100644 :8 filename | ||
M 100644 :8 ten | ||
M 100644 :8 twenty | ||
|
||
tag v1.0 | ||
from :9 | ||
tagger Little John <[email protected]> 1535229618 -0700 | ||
data 15 | ||
version one :) | ||
|
||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Initial==>Modified | ||
regex:tw.nty==>the number 20 | ||
v1.0==>version one! | ||
regex:!$==> :) |