]> source.dussan.org Git - jgit.git/commit
ApplyCommand: fix ApplyResult#updatedFiles 31/195131/5
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 10 Aug 2022 15:46:12 +0000 (17:46 +0200)
committerHan-Wen NIenhuys <hanwen@google.com>
Tue, 23 Aug 2022 13:23:23 +0000 (09:23 -0400)
commit25aceffdc58fdc5707c908fb4c3584116703046e
treef17b2e5377fb631beaaed605476e13189a48af42
parent0887111ba525c7c9c4dea3018028a40041cec49b
ApplyCommand: fix ApplyResult#updatedFiles

On executing a copy, mark the destination as updated.

On executing a rename, mark both source and destination as updated.

Change-Id: Ied5b9b0e5a14eac59a06cdd0961e25e143f50ff0
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/ApplyCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/ApplyCommand.java