dustin

I write code.
What the hell?
What the hell?
I bet you would have.
I bet you would have.
How could hell be any worse?
How could hell be any worse?
More a question than a curse…
More a question than a curse…
More fun with git log.  If only I had a ridiculously large monitor, I’d totally use this format:

git log --pretty="format:%Cgreen%h%Cred %xe2%x98%xa0%Creset %s"

More fun with git log. If only I had a ridiculously large monitor, I’d totally use this format:

git log --pretty="format:%Cgreen%h%Cred %xe2%x98%xa0%Creset %s"
Fun with git log

git log --pretty="format:%Cgreen%h%Cred %xe2%x9a%xa1%Creset %s"

Fun with git log

git log --pretty="format:%Cgreen%h%Cred %xe2%x9a%xa1%Creset %s"
Well, the good news is I’ve at least figured out how to make tests fail.
Well, the good news is I’ve at least figured out how to make tests fail.
A friend made a stats tool that could do histograms and stuff and wanted to know if I wanted to help at all by making it plot vertical charts in addition to the horizontal ones he already had.

I spent way too long on this.  You can configure the character it uses for the point, whether or not you want a little ascii-art (er, unicode I guess) box around it, the spacing between the bars, etc…

A friend made a stats tool that could do histograms and stuff and wanted to know if I wanted to help at all by making it plot vertical charts in addition to the horizontal ones he already had.

I spent way too long on this. You can configure the character it uses for the point, whether or not you want a little ascii-art (er, unicode I guess) box around it, the spacing between the bars, etc…

OK, damnit. Surely this is enough tests for such a trivial feature.

  • ok 31: autosetuprebase local on a tracked local branch
  • ok 32: autosetuprebase always on a tracked local branch
  • ok 33: autosetuprebase remote on a tracked local branch
  • ok 34: autosetuprebase never on a tracked local branch
  • ok 35: autosetuprebase local on a tracked remote branch
  • ok 36: autosetuprebase never on a tracked remote branch
  • ok 37: autosetuprebase remote on a tracked remote branch
  • ok 38: autosetuprebase always on a tracked remote branch
  • ok 39: autosetuprebase unconfigured on a tracked remote branch
  • ok 40: autosetuprebase unconfigured on a tracked local branch
  • ok 41: autosetuprebase unconfigured on untracked local branch
  • ok 42: autosetuprebase unconfigured on untracked remote branch
  • ok 43: autosetuprebase never on an untracked local branch
  • ok 44: autosetuprebase local on an untracked local branch
  • ok 45: autosetuprebase remote on an untracked local branch
  • ok 46: autosetuprebase always on an untracked local branch
  • ok 47: autosetuprebase never on an untracked remote branch
  • ok 48: autosetuprebase local on an untracked remote branch
  • ok 49: autosetuprebase remote on an untracked remote branch
  • ok 50: autosetuprebase always on an untracked remote branch
  • ok 51: detect misconfigured autosetuprebase (bad value)
  • ok 52: detect misconfigured autosetuprebase (no value)