Highly recommended! It certainly improves your code quality, too. Can't count anymore how many times that has saved me from committing some utter nonsense I may not have discovered for a long time otherwise.
Notices by muesli (fribbledom@mastodon.social), page 37
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:25:06 UTC muesli
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:22:04 UTC muesli
š
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:21:40 UTC muesli
In that case you may as well use "git commit -a" which essentially does "git add *" for you.
"git add -p" makes you and lets you confirm each individual change hunk before staging it. This also means you can add only some changes within a file and leave other changes for a later commit.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:20:07 UTC muesli
Stages and commits any and all files that have been modified or deleted.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:18:21 UTC muesli
That's fine if it's your own little code base, but as soon as you're working with (even just a small) team, this quickly becomes unmaintainable or -reviewable.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 23:09:17 UTC muesli
"git commit -a" is what I call a cowboy-commit, and I still think git should flag and expose commits as such.
Not that I mind anyone using it (carefully), but it would make me extra wary when reviewing a commit. It should be the absolute exception, not the standard way of committing things.
Do it properly and always review your individual changes once more! Use "git add -p"!
You will soon love it and whoever reviews your code will love you for using it!
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 19:19:26 UTC muesli
The scheme and domain are the only parts of a URL that are case-insensitive. See RFC 3986.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 18:29:14 UTC muesli
No need to apologize, I never feel bothered to respond to sensible, intelligent questions!
It also clearly isn't super obvious this would lead to issues, which is why Microsoft probably ended up in this situation to begin with.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 18:26:01 UTC muesli
Just a few examples:
Many projects link their GitHub namespace with other services like CIs, Linters, Test Badges, Doc Generators and so on. They usually treat URLs case-sensitively, which now leads to broken references. Try to click the build badge on one of their own projects, and see where it takes you: https://github.com/microsoft/vscode-go
Some build systems will fail as they check out dependencies including the full canonical namespace, and now can't find the uppercase version in the filesystem.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 18:16:57 UTC muesli
That's part of the problem, as it still changes the canonical name of everything within that namespace: build systems, caches, image references and a bunch of other things will break - as they treat URLs case-sensitively as various RFCs and the W3C suggest.
I guess Microsoft is just learning that lesson now.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 11:06:58 UTC muesli
I'm not sure breaking W3C's standards and various RFCs (3986 as one example) is something I'd call a feature.
Besides that, it's ignoring the case-sensitivity handling git itself imposes, the very tool it builds upon. Keep calling it what you want, it leads to real-world problems and that's what I call a bug.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 10:23:26 UTC muesli
That's great for GitHub, but it still breaks build systems, imports, caches, image links and other references, because they are now pointing to a different canonical name.
Example?
Some of their own repositories use external services, like TravisCI, which now have broken links & references.
Try to click the build badge on https://github.com/microsoft/vscode-go and see where it takes you.
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 10:03:19 UTC muesli
Microsoft apparently still doesn't quite understand the concept of case-sensitivity in filenames & URLs and just changed github.com/Microsoft to github.com/microsoft, in turn breaking a ton of canonical URLs and references.
It's incredible how shortsighted and oblivious a company of that size can be, really š
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 01:38:59 UTC muesli
Childhood memories... err, or rather phantasies! I remember how much I wanted these kits and how stupidly expensive they were.
You should probably open a tech museum at some point in your life š
-
muesli (fribbledom@mastodon.social)'s status on Wednesday, 08-May-2019 00:54:09 UTC muesli
So good, indeed!
-
muesli (fribbledom@mastodon.social)'s status on Tuesday, 07-May-2019 20:10:56 UTC muesli
Or as I call it: purr programming.
-
muesli (fribbledom@mastodon.social)'s status on Tuesday, 07-May-2019 10:48:45 UTC muesli
Furious rainbow unicorn is furious!
-
muesli (fribbledom@mastodon.social)'s status on Tuesday, 07-May-2019 08:41:21 UTC muesli
I agree, hence why I wrote service-monitor š We simply didn't have nice APIs to filter logs by level and other criteria before. Or to monitor a service's state.
-
muesli (fribbledom@mastodon.social)'s status on Monday, 06-May-2019 21:30:29 UTC muesli
I like the way you're thinking! š
-
muesli (fribbledom@mastodon.social)'s status on Monday, 06-May-2019 21:29:54 UTC muesli
Yeah, it's pretty undiscoverable as a user, I'd say.
The first command probably works, too. It's not supposed to output something, it just sends a UDP message to your localhost, port 1337.