mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 07:28:35 +02:00
sLICKK
This commit is contained in:
parent
005e6047cc
commit
bc20fc163b
3 changed files with 15 additions and 3 deletions
|
@ -853,7 +853,7 @@ GitEngine.prototype.getTargetGraphDifference = function(
|
|||
var sourceTree = source.exportTree();
|
||||
var sourceStartCommitJSON = sourceTree.commits[sourceStartCommit.get('id')];
|
||||
|
||||
if (target.refs[sourceStartCommitJSON.id]) {
|
||||
if (targetSet[sourceStartCommitJSON.id]) {
|
||||
// either we throw since theres no work to be done, or we return an empty array
|
||||
if (options.dontThrowOnNoFetch) {
|
||||
return [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue