A filter to replace gitmoji code to gitmoji character and replace gitmoji character to gitmoji code
Freed-Wu opened this issue ยท 8 comments
Description of the problem
When we git log --oneline
, we will see:
725f254 :bug: Calculate check sum finally
4ec0b07 :technologist: Add receive_and_drop()
6c09fdd :technologist: Add loop for receive_data_frames()
76abe04 :technologist: Add send_and_receive_frame()
06ea47f :art: Move alloc outside loop
a4c27bc :alembic: receive data frames again
I hope gitmoji can provide a command line option to allow user:
git log --oneline | gitmoji --replace-gitmoji-code-to-gitmoji-character
Then we will get:
725f254 ๐ Calculate check sum finally
4ec0b07 ๐งโ๐ป Add receive_and_drop()
6c09fdd ๐งโ๐ป Add loop for receive_data_frames()
76abe04 ๐งโ๐ป Add send_and_receive_frame()
06ea47f ๐จ Move alloc outside loop
a4c27bc โ๏ธ receive data frames again
4d978e0 ๐งโ๐ป Add count_unreceived_data_frames()
Solution
Just replace some characters. It should be very simple!
Alternatives
Don't support it. User must see :bug:
not ๐.ZZ
Additional context
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue requesting the same feature.
Hey!
Thanks for opening such a detailed issue, I think it would add a lot of value to the cli
do you want to take stab into implementing this?
Thanks ๐
I am not sure which option name you want? --replace-gitmoji-code-to-gitmoji-character
looks too long
Not sure if this is something that should be handled by gitmoji if I'm completely honest. Sounds like a very small amount of people would benefit from this. I don't know of any but it would seem very unlikely to me if tools aren't available already that do exactly what you're asking for.
IMO, gitmoji generates these git commit message containing gitmoji code, so it is fair that it should provide some method to allow user to see these gitmoji character in git log
.
IMO, gitmoji generates these git commit message containing gitmoji code, so it is fair that it should provide some method to allow user to see these gitmoji character in
git log
.
At that point wouldn't it make more sense to configure gitmoji
to use the emoji format instead of the code format?
There are many git repo have used gitmoji to generate git commit message. Change their commit messages from code format to emoji format is impossible.
@Freed-Wu In that case something like emojify
should be sufficient for what you're looking for. https://github.com/mrowa44/emojify