Comments (7)
Ugh. Yeah, that's a problem. I never use command-line for messages, so never though of shell escapes when creating it.
Do you have any alternatives you might recommend?
The main thing I like is that it stands out. It is 3 chars wide, with the first indicating what's going on and the next two screaming RISK IS HERE!!
from arloscommitnotation.
What do people think about **
F**
B**
R**
Hm. Looks like I'm cussing. I don't particularly like that.
from arloscommitnotation.
I'm still open to a proposal that avoids terminal history expansion. I don't have an idea, so can anyone make a good proposal?
from arloscommitnotation.
There are so many different shells out there with so many different rules for which characters are special in which contexts. It's hard to design any system that won't trip up any shell.
Here's another example:
> git commit -am "r rename `t` -> `u`"
In PowerShell backtick is the escape character, so backtick-t becomes a TAB
. So in PowerShell I try to always use single quotes unless I know I want special shell expansion things to happen in my string.
Meanwhile, in Python '
and "
have the same treatment. Sigh.
from arloscommitnotation.
Some more character ideas for unsafe:
R++
R@@
Or maybe we change the layout:
!R!
*R*
Maybe we also switch the safe changes to .r.
which would address the multiple-space-collapse issue (#26). .
and !
have a nice visual relationship.
from arloscommitnotation.
I like the layout change. I feel like it makes things more useable.
from arloscommitnotation.
#43 Considers an alternate layout. Addresses this concern and also makes risk more clear.
from arloscommitnotation.
Related Issues (11)
- What is the Definition for LoC? HOT 2
- `R` and recipes HOT 3
- How to classify enabling a lint rule? HOT 2
- Are we optimizing for typing or readability? HOT 2
- Multiple spaces get lost in many UIs HOT 10
- How to add a failing test? HOT 4
- Guidance for commit message regex HOT 2
- Document more reasons this is good HOT 1
- Consider allowing `r` when test coverage is truly comprehensive. HOT 2
- `F**` and `B**` look like cursing, `g!!d** it` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arloscommitnotation.