mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
Merge
This commit is contained in:
@@ -172,10 +172,8 @@ public class GitLogCommand extends AbstractGitCommand implements LogCommand
|
||||
GitChangesetConverter converter = null;
|
||||
RevWalk revWalk = null;
|
||||
|
||||
try
|
||||
try (org.eclipse.jgit.lib.Repository gr = open())
|
||||
{
|
||||
org.eclipse.jgit.lib.Repository gr = open();
|
||||
|
||||
if (!gr.getAllRefs().isEmpty())
|
||||
{
|
||||
int counter = 0;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"start": "npm-run-all -p webfonts watch-css build-vendor start-js",
|
||||
"build-js": "ui-bundler bundle target/scm-ui.bundle.js",
|
||||
"build-vendor": "ui-bundler vendor target/vendor.bundle.js",
|
||||
"build": "npm-run-all webfonts build-css build-vendor build-js",
|
||||
"build": "npm-run-all -s webfonts build-css build-vendor build-js",
|
||||
"test": "ui-bundler test",
|
||||
"test-ci": "ui-bundler test --ci",
|
||||
"flow": "flow",
|
||||
|
||||
@@ -30,10 +30,10 @@ public class WebResourceServlet extends HttpServlet {
|
||||
/**
|
||||
* exclude api requests and the old frontend servlets.
|
||||
*
|
||||
* TODO remove old protocol servlets
|
||||
* TODO remove old protocol servlets and hook. Move /hook/hg to api?
|
||||
*/
|
||||
@VisibleForTesting
|
||||
static final String PATTERN = "/(?!api/|git/|hg/|svn/|debug/).*";
|
||||
static final String PATTERN = "/(?!api/|git/|hg/|svn/|hook/).*";
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(WebResourceServlet.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user