r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

44

u/[deleted] Jun 19 '14

I guess I'm alone in finding git not that hard to use. My only issue is git isn't pretty and to that end I have a few scripts to give me prettier logs (like most people have) and prettier branch summaries (my macro displays all branches, their latest commit id and dates).

Beyond that I manipulate my tree with straight up git commands.

Any halfway competent developer should be able to master git in a couple of weeks let alone be able to write their own version of git given a couple of full time weeks to work in.

38

u/[deleted] Jun 19 '14

Any halfway competent developer should be able to master git in a couple of weeks

The problem is that not every competent developer is interested in mastering a source control system. I work in a group that develops pretty complex NLP software and spend way too much time helping people with git.

12

u/[deleted] Jun 19 '14

Um, any developer should be interested in SCM. It's how you control the revisions of what you're working on it.

That's like saying "electricians don't have time to learn about multimeters" ...

37

u/[deleted] Jun 19 '14

any developer should be interested in SCM

Every developer should use an SCM - not "be interested in it", unless they are developing one. The ideal SCM would be invisible to the developer.

That's like saying "electricians don't have time to learn about multimeters" ...

Analogies, analogies...

35

u/bushel Jun 19 '14

| analogies

No, pretty much all multimeters are digital these days.

6

u/gschizas Jun 19 '14

Hint: to do

this

type

> this

3

u/kazagistar Jun 19 '14

Now that I think about it, that makes no sense. I cannot imagine why it is not "| this".

3

u/robin-gvx Jun 19 '14

Because that vertical bar is just how Reddit displays blockquote by default and has nothing to do with the Markdown our comments are written in or the HTML it is converted to.

3

u/Majromax Jun 19 '14

Now that I think about it, that makes no sense. I cannot imagine why it is not "| this".

The angle-bracket is the conventional quote-marker in text-format e-mail and newsgroups. Aside from that convention, the vertical bar is also confusable for letters (lowercase ell, uppercase eye) in ambiguous contexts, and it's visually easier to count quote levels with angle-brackets (which take up more space) than vertical bars.

2

u/gschizas Jun 19 '14

Well, that's markdown for you :) I see your point, though. I'd guess that ">" is a much more prevalent character than "|". There was a time (long, long ago) that even ASCII wasn't supposed to work in all languages. In the place of "|", some languages' equivalent of 7-bit characters used their own accented letters. For example Denmark and Norway had "ø" instead of "|", Finland, Sweden, Germany and Hungary had "ö", France and French Canada had "ù", Ireland had "í", Italy had "ò", Portugal had "ç", Spain and Cuba had "ñ", Malta had "Ż" and Yugoslavia had "đ". Furthermore, a lot of home computers had completely different interpretations of ASCII (Commodore 64 had a weird symbol where "|" should be, for example)

In short, "|" wasn't a character that existed universally. In order to make the indentation in email (this was a time before web) and BBSes and newsgroups and whatever, the ">" was adopted.

Again, that's just my guess (but it makes sense to me at least :))

More here:

1

u/kazagistar Jun 19 '14

Wasn't markdown created after utf8 had basically already achieved world domination?

3

u/gschizas Jun 19 '14

Yes, but by then the standard for quoting somebody in your reply (in BBSes, emails, newsgroups etc.) was the ">".