Hi, The git side of XCode is very buggy and its best not to use it. I use GitTower and there is also SourceTrees which is free.
Cheers Dave > On 9 Aug 2016, at 22:49, Doug Hill <[email protected]> wrote: > > I'm trying to diff some modified files in the Xcode file tree view using the > Version editor. Sometimes when I click a file in the file viewer, I get an > error alert from Xcode: > > "The source control operation failed because no repository could be found. > Make sure a valid repository exists at the specified location and try again." > > And I see this in the Console: > > ================ > com.apple.dt.Xcode.sourcecontrol.Git[60382]: #DVTSourceControl Notice: Error > with libgit operation (git_tree_entry_bypath(&treeEntry, tree, > [relativePath.gitNormalizedString cStringUsingEncoding:NSUTF8StringEncoding])) > Method: -[DVTSourceControlGitPlugInPrimary > _libgit_exportFile:inWorkingCopy:fromRevisionLocation:toDirectory:completionBlock:] > > Xcode[91757]: #DVTSourceControl Error: -200 The source control operation > failed because no repository could be found. > Underlying Error: the path 'Cube' does not exist in the given tree (-3) > Method: __101-[DVTSourceControlManager > exportFile:inWorkingCopy:fromRevisionLocation:toDirectory:completionBlock:]_block_invoke_2 > ================ > > Yet the file is under source control and I see an 'M' icon next to the file > in the file tree pane. And I can do git operations on this file from the > command in Terminal. git log, git status, git diff all return real and useful > information. > > My plan is to write up a bug on Xcode but wanted to see if this is a known > issue. > Version 7.3.1 (7D1014) > > Doug Hill > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/dave%40looktowindward.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
