| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
filesystem: ObjectStorage, MaxOpenDescriptors option
|
| |
| |
| |
| |
| |
| |
| |
| | |
The MaxOpenDescriptors option provides a middle ground solution between keeping
all packfiles open (as offered by the KeepDescriptors option) and keeping none
open.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| | |
| | | |
plumbing: format/index perf, buffered reads, reflection removal
|
| | |
| | |
| | |
| | | |
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Large performance increase by buffering reads.
There were a few instances where binary.Read() would end up using reflection on
&plumbing.Hash, rather than treating it as a byte slice. This has now been
resolved.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| | |
| | | |
plumbing: TreeWalker performance improvement, bufio pool for objects
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Removes path.Clean and path.Join, as they're expensive in comparison to basic
string manipulation that can be used here.
Adds bufio.Buffer pool to be used by tag, tree and commit object decoding.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| |/
|/| |
plumbing: idxfile, avoid unnecessary building of reverse offset/hash map
|
| |
| |
| |
| | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
|\ \
| |/
|/| |
plumbing: object, Fix tag message decoding
|
| |
| |
| |
| |
| |
| | |
signature
Signed-off-by: Filip Navara <navara@emclient.com>
|
|/
|
|
|
|
|
|
|
|
| |
The Decode method was adding one too many newlines to the tag message,
causing signature verification to fail. This is because in signed tags
produced by `git`, there is a newline after the PGP signature block,
resulting in `messageAndSig` having one extra (empty) `[]byte` element.
This caused `t.Message` to receive one extra newline.
Signed-off-by: Spencer Judd <spencercjudd@gmail.com>
|
|
|
| |
plumbing: commit.StatsContext and fix for root commit
|
|\
| |
| | |
plumbing: object, Count stats properly when no new line added at the …
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Fixes #1074
Signed-off-by: Oleksii Shnyra <oleksii@global>
|
|\ \
| | |
| | | |
examples: commit, fixed minor typo in info statement
|
|/ /
| |
| |
| | |
Signed-off-by: HashedDan <georgedanielmangum@gmail.com>
|
|\ \
| | |
| | | |
fix panic in object.Tree.FindEntry
|
| | |
| | |
| | |
| | | |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|\ \ \
| |/ /
|/| | |
travis: drop go1.10 add go1.12
|
|/ /
| |
| |
| | |
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
|
|\ \
| | |
| | | |
fix missing error in bfsCommitIterator
|
| | |
| | |
| | |
| | | |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|\ \ \
| | | |
| | | | |
add Repository.CreateRemoteAnonymous
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|\ \ \
| |/ /
|/| | |
transactional: implement storer.PackfileWriter
|
| |/
| |
| |
| | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \
| |/
|/| |
Increase diffmatchcpatch timeout
|
| |
| |
| |
| | |
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
|
| |
| |
| |
| |
| |
| | |
Fixes https://github.com/src-d/go-git/issues/1083
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
|
|\ \
| |/
|/|
| |
| | |
meinto/fix/tobias/potentially-duplicate-check-for-unstaged-files
git: remove potentially duplicate check for unstaged files
|
|/
|
|
| |
Signed-off-by: Tobias Meinhardt <tobias.meinhardt89@gmail.com>
|
|\
| |
| | |
git: Fix typo
|
| |
| |
| | |
Signed-off-by: Jeremy Schlatter <jeremy.schlatter@gmail.com>
|
|\ \
| | |
| | | |
git: Fix typo
|
| |/
| |
| | |
Signed-off-by: Jeremy Schlatter <jeremy.schlatter@gmail.com>
|
|\ \
| | |
| | | |
worktree: allow manual ignore patterns when no .gitignore is available
|
| | |
| | |
| | |
| | | |
Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com>
|
|\ \
| | |
| | | |
git: fix goroutine block while pushing a remote
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
On session.ReceivePack error the gororutine doing the encoding got
blocked either writing objects to the pipe or sending error to the done
channel. The problem did not cause a perceived problem but left blocked
goroutines.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \
| |/
|/| |
plumbing/cache: check for empty cache list
|
|/
|
|
|
|
|
|
| |
If there is wrong data in the cache it may cause the eviction code to
empty the object list and cause a panic. This patch adds a check and
sets the cache usage to 0 when this happens.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\
| |
| | |
Remove Unicode normalization in difftree
|
| |
| |
| |
| |
| |
| | |
Fixes #1057
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
|
|\ \
| | |
| | | |
Ignore missing references/objects on log --all
|
| | |
| | |
| | |
| | | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
To mimic the actual standard git behavior, we must ignore references that are pointing to wrong/unexistent objects.
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|\ \ \
| | | |
| | | | |
remote: speed up pushes when the "remote" repo is local
|