Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-746

Use '--' to separate filenames from revisions within Git

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 1.9
    • None
    • None

    Description

      We had a maven multi module project where a module was unfortunately named "master".

      This caused a problem when working on the Git master branch:

      Provider message: The git-log command failed. Command output: -------------------------------------------------------------------------------
      From file:///foo/bar * branch master -> FETCH_HEAD
      fatal: ambiguous argument 'master': both revision and filename Use '--' to separate filenames from revisions -------------------------------------------------------------------------------

      Our workaround was to rename the "master" module to "master-module" and reflect that in the parent pom which lists all the module directories.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deckrider deckrider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: