summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/utils/JGitUtils.java
Commit message (Collapse)AuthorAgeFilesLines
* Simplify blob loading codeJames Moger2013-12-031-24/+3
| | | | Change-Id: I7f8ad8936e620dd06e88d85f6837248eea75a1ec
* Remove elaborate HEAD determinationJames Moger2013-11-261-17/+0
| | | | Change-Id: I0da34a1da0dc3dcb07a98629c2284184402cb23a
* Implement mirror executor (issue-5)James Moger2013-11-131-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | The mirror executor will fetch ref updates for repository mirrors. This feature is disabled by default and can be enabled by setting git.enableMirroring=true. The period between update checks is configurable, but it is global. An individual rpeository may not set it's own update schedule. Requirements: 1. you must manually clone the repository using native git git clone --mirror git://somewhere.com/myrepo.git 2. the "origin" remote must be the mirror source 3. the "origin" repository must be accessible without authentication OR the credentials must be embedded in the origin url (not recommended) Notes: 1. "origin" SSH urls are untested and not likely to work 2. mirrors cloned while Gitblit is running are likely to require clearing the gitblit cache (link on the repositories page of an administrator account) 3. Gitblit will automatically repair any invalid fetch refspecs with a "//" sequence. Change-Id: I4bbe3fb2df106366ae4c2313596d0fab0dfcac46
* Fix Markdown document enumeratonJames Moger2013-10-161-2/+2
|
* Check for refs/ not refs/heads/ when updating a refJames Moger2013-10-011-1/+1
| | | | Change-Id: I19f9507fdb859902a6df96f1960433a91378e400
* Trim trailing whitespace and organize importsJames Moger2013-09-301-86/+86
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Add normalized diffstats to the commit, commitdiff, and compare pagesJames Moger2013-09-271-30/+31
| | | | Change-Id: I8f26746a611e9ab955efe8b2597cc81db48fb085
* Fix potential NPE in git commit searchJames Moger2013-09-231-1/+4
|
* Merge branch 'init-shared' of https://github.com/fzs/gitblit into prefixesJames Moger2013-09-171-3/+179
|\
| * Fix set-gid bit clearing under Linux when effective gid is different from ↵Florian Zschocke2013-08-261-1/+15
| | | | | | | | file gid.
| * Fix setting wrrong custom mode on file and in config.Florian Zschocke2013-08-261-2/+5
| |
| * Add JavaDoc.Florian Zschocke2013-08-261-1/+20
| |
| * Implement adjusting file permissions for shared repositories.Florian Zschocke2013-08-261-19/+63
| | | | | | | | | | Implement adjusting file and directory permissions for shared repositories in JGitUtils.
| * Add proper implementation of methods in JnaUtils.Florian Zschocke2013-08-261-99/+93
| | | | | | | | | | | | | | Implement the methods getFilemode and setFilemode in JnaUtils. Not using the libc names as we don't necessarily use JNA and because it is not necessarily a one to one mapping.
| * Add method JGitUtils.createRepository(folder, name, shared) to create a newFlorian Zschocke2013-08-261-0/+102
| | | | | | | | repository as if it was created with the --shared command line switch of git.
* | Avoid NPE when the default branch cannot be identifiedRobin Rosenberg2013-09-011-0/+2
|/ | | | | This is a normal condition that complicates debugging, i.e. when catching all NPE's.
* Set author as tooltip of "last change" on repositories page (issue-238)James Moger2013-07-031-11/+28
|
* Ignore orphaned .git folder in repositories folder (issue-256)James Moger2013-06-181-0/+1
|
* New JGit util method to retrieve changed paths in a commit range (issue 226)James Moger2013-05-231-5/+62
|
* Completed migration to JGit 3.0.0-SNAPSHOTJames Moger2013-04-151-2/+1
|
* Bump JGit version to 3.0.0-SNAPSHOTDavid Ostrovsky2013-04-141-2/+3
|
* Revised incremental push tags featureJames Moger2013-04-011-31/+28
|
* Merge branch 'autotagpush' of https://github.com/akquinet/gitblit into pushtagsJames Moger2013-04-011-0/+70
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+1775
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.