6 Comments

  1. Posted February 16, 2009 at 4:36 pm | Permalink

    Odd that I’ve not had this problem, since my shell is dash.

    Perhaps the debian git has a patch fixing this issue :)

  2. Posted March 1, 2009 at 11:00 pm | Permalink

    Thanks so much for the solution, ‘twas threatening to drive me batty!

    (No issue in OS X 10.5.6’s bash, but for some reason TextDrive’s bash (on Solaris, presumably) and a slightly stale version of git (1.6.0.2) were misbehaving)

  3. Posted April 3, 2009 at 8:11 am | Permalink

    Great catch. This affected an OpenSolaris system I was just working with.

  4. Stefan
    Posted June 30, 2009 at 4:16 pm | Permalink

    Thanks for posting this, very helpful.

  5. Posted July 5, 2009 at 5:17 pm | Permalink

    This helped me git going again on Joyent’s Shared Accelerators once I realized I needed to modify the first line of the .git/hooks/commit-msg file in my repository from this:

    #!/bin/sh
    

    to this:

    #!/usr/bin/bash
    

    Thanks for helping put an end to that frustration.

  6. Posted October 12, 2009 at 12:59 am | Permalink

    Brilliant - this solved the problem for me on my Joyent Shared as well.

    One question: is there any way of making this change permanent for all Git repos I pull onto my Joyent Shared?

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

You may use Markdown syntax or basic HTML.

Subscribe without commenting