Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Bug when doing 'git flow feature finish X', and there is a conflict #53

Closed

Description

@nvie

Reported by Jonathan Brannan:
When doing 'git flow feature finish X', and there is a conflict, I normally see this:

CONFLICT (content): Merge conflict in foo.cpp
Automatic merge failed; fix conflicts and then commit the result.
mkdir: cannot create directory `/.gitflow': Permission denied
/usr/local/bin/git-flow-feature: line 292: /.gitflow/MERGE_BASE: No such file or directory

I tracked it down to gitflow-common

export DOT_GIT_DIR=$(git rev-parse --git-dir >/dev/null 2>&1)

Activity

  1. nvie commented on Sep 15, 2010

    @nvie
    OwnerAuthor

    It redirects stdout to /dev/null, so it never gets set.

  2. shish commented on Apr 15, 2011

    @shish

    I'm getting this too -- is the fix more complicated than just "don't redirect stdout to dev null"?

  3. added a commit that references this issue on Apr 17, 2011
    a7a89cd
  4. added a commit that references this issue on Aug 21, 2013
    7ee7c7b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions