Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 18, 2009
  1. @noschinl @gitster

    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 <>
    Acked-by: Johannes Schindelin <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.