Skip to content
  • Junio C Hamano's avatar
    Merge branch 'jc/for-each-ref-head-segfault-fix' · 48e9ad5e
    Junio C Hamano authored
    Using a %(HEAD) placeholder in "for-each-ref --format=" option
    caused the command to segfault when on an unborn branch.
    
    * jc/for-each-ref-head-segfault-fix:
      for-each-ref: do not segv with %(HEAD) on an unborn branch
    48e9ad5e