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