Skip to content

Commit

Permalink
delete a line breaker
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaosongzs committed Jun 6, 2024
1 parent ace7775 commit f2afda3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ private List<FileEntry> allFilesWithStaged(Hash hash, List<Path> paths) throws I

private List<FileEntry> allFilesWithWorkingTree(Hash hash, List<Path> paths) throws IOException {
// Get staged files first
var entries = new ArrayList<FileEntry>(allFilesWithStaged(hash, paths));
var entries = new ArrayList<>(allFilesWithStaged(hash, paths));
// Get unstaged files
var cmd = new ArrayList<String>();
cmd.addAll(List.of("git", "-c", "core.quotePath=false", "ls-files", "--others", "--exclude-standard"));
Expand All @@ -1135,7 +1135,6 @@ private List<FileEntry> allFilesWithWorkingTree(Hash hash, List<Path> paths) thr
.execute()) {
var res = await(p);
for (var filename : res.stdout()) {

var entry = new FileEntry(hash,
null,
hash,
Expand Down

0 comments on commit f2afda3

Please sign in to comment.