Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 18, 2009
  1. Lars 'cebewee' Noschinski Junio C Hamano

    filter-branch -d: Export GIT_DIR earlier

    noschinl authored gitster committed
    The improved error handling catches a bug in filter-branch when using
    -d pointing to a path outside any git repository:
    
    $ git filter-branch -d /tmp/foo master
    fatal: Not a git repository (or any of the parent directories): .git
    
    This error message comes from git for-each-ref in line 224. GIT_DIR is
    set correctly by git-sh-setup (to the foo.git repository), but not
    exported (yet).
    
    Signed-off-by: Lars Noschinski <lars@public.noschinski.de>
    Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.