| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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: 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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This factors out some URL-parsing code from the transport layer so it
can be used by config as well.
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`ObjectsWithStorageForIgnores` is the same as `Objects`, but a
secondary storage layer can be provided, to be used to finding the
full set of objects to be ignored while finding the reachable objects.
This is useful when the main `s` storage layer is slow and/or remote,
while the ignore list is available somewhere local.
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|\ \ \
| | | |
| | | | |
worktree: add sentinel error for non-fast-forward pull
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Alexey Smirnov <unlinkat@gmail.com>
|
|\ \ \
| | | |
| | | | |
packfile: get object size correctly for delta objects
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|\ \ \
| |/ /
|/| | |
storage: transactional, new storage with transactional capabilities
|