@@ -262,9 +262,9 @@ public void VerifyRebaseDetailed()
262
262
263
263
List < ObjectId > expectedTreeIds = new List < ObjectId > ( )
264
264
{
265
- new ObjectId ( "447bad85bcc1882037848370620a6f88e8ee264e " ) ,
266
- new ObjectId ( "3b0fc846952496a64b6149064cde21215daca8f8 " ) ,
267
- new ObjectId ( "a2d114246012daf3ef8e7ccbfbe91889a24e1e60 " ) ,
265
+ new ObjectId ( "2cad6e96a0028f1764dcbde6292a9a1471acb114 " ) ,
266
+ new ObjectId ( "18fd3deebe6124b5dacc8426d589d617a968e8d1 " ) ,
267
+ new ObjectId ( "048977d8cb90d530e83cc615a17a49f3068f68c1 " ) ,
268
268
} ;
269
269
270
270
List < Commit > rebasedCommits = repo . Commits . QueryBy ( commitFilter ) . ToList ( ) ;
@@ -602,7 +602,7 @@ public void CanRebaseHandlePatchAlreadyApplied()
602
602
603
603
repo . Checkout ( topicBranch1Name ) ;
604
604
605
- Branch topicBranch1Prime = repo . CreateBranch ( topicBranch1PrimeName , masterBranch1Name ) ;
605
+ Branch topicBranch1Prime = repo . CreateBranch ( topicBranch1PrimeName , masterBranch1Name ) ;
606
606
607
607
string newFileRelativePath = "new_file.txt" ;
608
608
Touch ( repo . Info . WorkingDirectory , newFileRelativePath , "New Content" ) ;
@@ -631,7 +631,7 @@ public void CanRebaseHandlePatchAlreadyApplied()
631
631
} ;
632
632
633
633
repo . Rebase . Start ( null , upstreamBranch , null , Constants . Identity2 , options ) ;
634
- ObjectId secondCommitExpectedTreeId = new ObjectId ( "ac04bf04980c9be72f64ba77fd0d9088a40ed681 " ) ;
634
+ ObjectId secondCommitExpectedTreeId = new ObjectId ( "379e80ed7824be7672e1e30ddd8f44aa081d57d4 " ) ;
635
635
Signature secondCommitAuthorSignature = Constants . Signature ;
636
636
Identity secondCommitCommiterIdentity = Constants . Identity2 ;
637
637
@@ -700,6 +700,11 @@ private void ConstructRebaseTestRepository(Repository repo)
700
700
string workdir = repo . Info . WorkingDirectory ;
701
701
Commit commit = null ;
702
702
703
+ CreateAttributesFile ( repo , "* text=auto" ) ;
704
+
705
+ repo . Stage ( ".gitattributes" ) ;
706
+ commit = repo . Commit ( "setup" , Constants . Signature , Constants . Signature , new CommitOptions ( ) ) ;
707
+
703
708
Touch ( workdir , filePathA , fileContentA1 ) ;
704
709
repo . Stage ( filePathA ) ;
705
710
commit = repo . Commit ( "commit 1" , Constants . Signature , Constants . Signature , new CommitOptions ( ) ) ;
0 commit comments