Darcs vs. git annoyances: getting to know you

I just saw a patch I created on github attributed to “mark@freekbox.(none)”.   That’s nothing like an email I use and it’s annoying that git not only selected this as my identity to use in the commit log, but then didn’t even run it by me for a reality check. Now that I’ve committed that patch and pushed it to github, there’s no real way to alter that. Extra annoying.

By contrast, the first time you record a patch in a darcs repo, you are prompted for your e-mail address in a friendly way:

$ darcs record
Darcs needs to know what name (conventionally an email address)
to use as the patch author, e.g. 'Fred Bloggs <fred@bloggs.invalid>'.
If you provide one now it will be stored in the file 
'_darcs/prefs/author' and used as a default in the future.  
To change your preferred author address, simply delete or edit
this file.

What is your email address?

Easy and pleasant.

2 Comments

Not quite correct. Fix the commit with "git reset", then "git push -f" to fix it on github.

@Jonathon
I am going to weigh in here, because I believe that that is not the point. That you can have some arcane incantation to rewind and redo the mistakes is useful, if you have a few hours to kill wading through the docs and google searches.

The point was that this mistake should NEVER have occurred in the _first_ place, and was completely due to horrible UI. I use git and darcs, and darcs wins hands down in the UI department, and it is a very important department, despite what the git world thinks.

Leave a comment

Recent Entries

  • generating HTTP headers: sorted or unsorted?

    Recently I've been reviewing how various Perl frameworks and modules generate HTTP headers. After reviewing several approaches, it's clear that there are two major...

  • The cost of saving sent e-mail

    I don't tap my own phone. I don't xerox postcards before I mail them back from vacation. I don't take a voice recorder when...

  • Modifying PDFs so they open full screen

    The [PDF spec](http://www.adobe.com/devnet/pdf/pdf_reference_archive.html) includes an option to cause PDFs to open full screen when users open them. I'm a fan of the feature because...

  • Stewardship and Sustainability of our online lives

    A few weeks ago I had my laptop stolen. Earlier that morning I had been reflecting and writing on the laptop about the intersection...

  • A vision for CGI.pm and CGI::Simple

    I've spent a lot time recently [triaging bugs for CGI.pm](http://mark.stosberg.com/blog/2009/08/almost-100-cgipm-bugs-closed-help-with-the-50-still-open.html). I've enjoyed the process, and respect CGI.pm as a widely used Perl module. I'm...

Close