Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
bb5d5b0d
Commit
bb5d5b0d
authored
1 year ago
by
Lückemeyer
Browse files
Options
Download
Email Patches
Plain Diff
re-created target dir for copy
parent
1b9f606a
master
amg-dev-volumes
amg-svn+ssh
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/hftstuttgart/dtabackend/utils/JGitUtil.java
+2
-2
src/main/java/de/hftstuttgart/dtabackend/utils/JGitUtil.java
with
2 additions
and
2 deletions
+2
-2
src/main/java/de/hftstuttgart/dtabackend/utils/JGitUtil.java
+
2
-
2
View file @
bb5d5b0d
...
...
@@ -58,9 +58,11 @@ public class JGitUtil {
//if an optional directory parameter was given
if
(
subDir
!=
""
)
{
targetDirectory
=
new
File
(
targetPath
);
//copy appropriate path from checkout directory to target directory
FileSystemUtils
.
copyRecursively
(
targetDirectory
,
new
File
(
checkoutDirectory
+
subDir
));
}
LOG
.
debug
(
String
.
format
(
"cloned from %s to %s"
,
config
.
group
(
1
),
targetDirectory
));
}
catch
(
IOException
e
)
{
LOG
.
error
(
String
.
format
(
"Error while cloning from %s: could not copy to unit test dir"
,
config
.
group
(
1
)),
e
);
...
...
@@ -68,7 +70,5 @@ public class JGitUtil {
catch
(
GitAPIException
e
)
{
LOG
.
error
(
String
.
format
(
"Error while cloning from %s: could not read from Git"
,
config
.
group
(
1
)),
e
);
}
LOG
.
debug
(
String
.
format
(
"cloned from %s to %s"
,
config
.
group
(
1
),
targetDirectory
));
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets