Url - filepath small problem

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.3.2
    • Affects Version/s: None
    • Component/s: General
    • None

      Hi I have notised a small "bug"

      How to recreate

      Add new Remote
      In Url / Path: field write:
      \\nas03\Git\Pcalc-api\v1\
      (Or any file share you have)

      And try to push.
      This will give this error:
      git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
      Pushing to \\nas03\Git\Pcalc-api\v1\

      fatal: '\nas03\Git\Pcalc-api\v1\' does not appear to be a git repository

      Note the message in fatal there is only one \ in front of
      nas03

      If I instead put 4 \ in the start of url/path
      \\\\nas03\Git\Pcalc-api\v1\
      All works fine.

      My .gitconfig

      [user]
      name = Niels
      email = z@z.zz
      [core]
      autocrlf = true
      excludesfile = C:\\Users\\nielsl\\Documents
      gitignore_global.txt
      [difftool "sourcetree"]
      cmd = 'C:/Program Files/Perforce/p4merge.exe' \"$LOCAL\" \"$REMOTE\"
      [mergetool "sourcetree"]
      cmd = 'C:/Program Files/Perforce/p4merge.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
      trustExitCode = true
      [push]
      default = simple
      [gui]
      recentrepo = E:/Dev/wifihotspots/hern
      recentrepo = E:/Dev/wifihotspot

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            nlynge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: