4 ms·
I'm sure this isn't real or just a fun joke. Please don't consider using a :checkered_flag: emoji to indicate you are fixing something on Windows, or any of the
by mrcwinn 12y ago
I'm sure this isn't real or just a fun joke. Please don't consider using a :checkered_flag: emoji to indicate you are fixing something on Windows, or any of these other icons.
Or:
Please consider using these emoji, but please don't anticipate or expect other developers will have any idea what their usage means.
- Navarr 12y agoWell, this is specifically for contributing to Atom - and if you look at their commit messages it looks like they're at least somewhat doing just that.
- cocoflunchy 12y agoThey are using it though: https://github.com/atom/atom/commit/f151697c4cd0c22cfac9ab19b529691724148a9c https://github.com/atom/atom/commit/f151697c4cd0c22cfac9ab19... https://github.com/atom/atom/commit/f151697c4cd0c22cfac9ab19b529691724148a9c https://github.com/atom/atom/commit/f151697c4cd0c22cfac9ab19... https://github.com/atom/atom/commit/325d95ed35bb3f1a1741e77de984113fdea12595 https://github.com/atom/atom/commit/325d95ed35bb3f1a1741e77d... https://github.com/atom/atom/commit/a606fc516b19ee87530168356456116e4e6b7335 https://github.com/atom/atom/commit/a606fc516b19ee8753016835...
- leejo 12y ago> Please consider using these emoji Fine with that, but please also write longer descriptive commit messages. For example: > git log -1 3b5bb1501ce7af8f857af7621fc0d5f86fb4fa93 commit 3b5bb1501ce7af8f857af7621fc0d5f86fb4fa93 Author: Ben Ogle <ogle.ben@gmail.com> Date: Tue Jan 6 17:09:59 2015 -0800 :lipstick: Tells me nothing. Nothing! At a glance the commit messages for the atom repo are poor: atom > git-mean-commit-message-bytes | grep '>' >ALL 147 You would hope github and git users would grok the power of git's commit messages, but hey ho...
- igorgue 12y agoWell, if you read their guide it says that :lipstick: means: "improving the format/structure of the code" So I guess this code just changes spaces or something like that, I don't know I'm just reading what they do, they might do something else, I'm just following the instructions that everyone contributing to the code should.
- leejo 12y agoOK, the guidelines explain the meaning but the message is still not descriptive enough. What happens when one of those commits breaks something? If i ran a bisect and the offending commit had the message: :lipstick: I would be tempted to revert the commit because the message tells me nothing about why the change was made. A commit message should be future proofed, even if the code it relates to can never be.
- bradleybuda 12y agoI'm guessing that's intentional. The idea is that if you are going to reformat code, it should be the only thing you do in a change; in other words, don't commit a change that both changes the semantics of the code and changes the formatting. The principle is that formatting is orthogonal to other work and therefore shouldn't be mixed in. Unless you do something wrong, formatting changes are harmless so they can be scanned past by someone reviewing a changelog. Here's a good discussion of the practice on StackOverflow: http://stackoverflow.com/questions/2214480/committing-when-changing-source-formatting http://stackoverflow.com/questions/2214480/committing-when-c...
- leejo 12y ago> Unless you do something wrong Therein lies the rub; when something goes wrong i want a commit message that explains why that formatting change was made. :lipstick: - add missing # char, as per conventions Would have taken all of 5 extra seconds to write and is a lot better future proofed. Remember, a commit message should explain why something changed and not just what changed.