>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
Not this, but I do fairly often think assume I'm in vim when I'm not. `alias :q="echo NOT IN VIM!!!"`
Git git git git git
111–120 of 244 posts
Re: Git git git git git
#112Earlier quoted context omitted.
I disagree that your ‘ echo hello’ example is free of side effects. It writes to stdout. It overwrites $?. It changes the value of the last executed history command. Etc. About the only side effect free operation at a blank line terminal prompt is _probably_ hitting enter or ctrl c. Or ‘#something ’ But your idempotency examples are spot on. Basically, idempotency is a very useful concept. Side effect free isn’t.
> I disagree that your ‘ echo hello’ example is free of side effects. I posit that you understand perfectly well what i was getting at! If it helps, imagine that you are spawning a fresh shell to execute each command line, through system(3) or some such.
Re: Git git git git git
#113>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
Re: Git git git git git
#114Re: Git git git git git
#115>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
Re: Git git git git git
#116>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
I often type "git clone ", then switch to a browser to copy/paste the URL, which is usually fine, but there are still many times where I've happened to include "git clone" in the copied string. (So I end up with "git clone git clone $URL").
Re: Git git git git git
#117Re: Git git git git git
#118Earlier quoted context omitted.
I do. And I also write "vim vim thefile.txt" and stuff like that. Finally I've written a small shell function that corrects "gi tpull" to "git pull", because that happens at least once a day.
I always typed rebnoot, so I patched Netbsd to allow rebnoot. Then I patched it still so it would say, "Rebnooting". Fun times.
Re: Git git git git git
#119 printf("Hello, world!\n");
(printf)("Hello, world!\n");
(*printf)("Hello, world!\n");
(**printf)("Hello, world!\n");
(***printf)("Hello, world!\n");Re: Git git git git git
#120Earlier quoted context omitted.
Can't tell if serious...
It’s probably just a shell script or an alias