mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 14:16:13 +02:00
Merged r5643 from trunk.
scm: git: rearrange fetch_changesets() comment. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5645 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -49,10 +49,14 @@ class Repository::Git < Repository
|
||||
|
||||
# With SCM's that have a sequential commit numbering, redmine is able to be
|
||||
# clever and only fetch changesets going forward from the most recent one
|
||||
# it knows about. However, with git, you never know if people have merged
|
||||
# it knows about.
|
||||
# However, with git, you never know if people have merged
|
||||
# commits into the middle of the repository history, so we should parse
|
||||
# the entire log. Since it's way too slow for large repositories, we only
|
||||
# parse 1 week before the last known commit.
|
||||
# the entire log.
|
||||
#
|
||||
# Since it's way too slow for large repositories,
|
||||
# we only parse 1 week before the last known commit.
|
||||
#
|
||||
# The repository can still be fully reloaded by calling #clear_changesets
|
||||
# before fetching changesets (eg. for offline resync)
|
||||
def fetch_changesets
|
||||
|
||||
Reference in New Issue
Block a user