How can we help you today? How can we help you today?

Error linking database to source control - git exited with code 128

Hi, 
we've been using sql source control on multipleservers and workstations for a few months now.
we have one developer who cannot link any database to source control

every time he tries, we immediately get an error

git exitedwith code : 128
cloning into c:\users\xxx\appdata\local\red gate\sql source control 7\workingbases\ at5qaxey.f4j...
fatal: invalid path '/cygdrive/c/windows/system32/c:\users\xxx\appdata\local\redgate\...

any ideas? we're trying to figure out why the /cygdrive/ bit is in the path (especially as the slashes are the other way round) and has prefixed the correct path

we've checked the environment vaiables and path string - no such entry exists

Mike_Vessey77
0

Comments

2 comments

  • AlexYates
    In settings, there's an "under the hood" section. It should have the references to all your transient and working base repos. For more info on these:
    https://documentation.red-gate.com/soc/reference-information/how-sql-source-control-works-behind-the-scenes

    Assuming your developer does not have any work they are afraid to lose, have you tried making a note of the working base/transient locations, unlinking everything, deleting all working base / transients, and re-linking?
    AlexYates
    0
  • Mike_Vessey77
    this is the problem - source control can't create the working base, because of the bad path, i'm trying to figure out why (or where) the path is prefixed with "/cygdrive/c/windows/system32"

    MV
    Mike_Vessey77
    0

Add comment

Please sign in to leave a comment.