Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tses #2

Merged
merged 292 commits into from
Dec 2, 2018
Merged

tses #2

merged 292 commits into from
Dec 2, 2018
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 3, 2018

  1. plumbing: format: pktline, Accept oversized pkt-lines up to 65524 bytes

    The canonical Git client successfully decodes sideband packets up to
    65524 bytes in length (4-byte header + 65520-byte payload). The Git
    protocol documentation was updated in August 2016 to reduce the maximum
    payload size to 65516 bytes, however old implementations still exist in
    the wild emitting 65520-byte payloads.
    
    As there is no technical difficulty with accepting (not emitting) larger
    payload sizes, this change adjusts the limit check to allow successful
    decoding of packets up to 65524 bytes. This change increases
    compatibility with the current canonical Git implementation.
    
    Doc changes from August 2016:
      git/git@7841c48#diff-52695c8fe91b78b70cea44562ae28297L67
    
    Current packet buffer size is still LARGE_PACKET_MAX (+1 null):
      https://github.com/git/git/blob/468165c1d8a442994a825f3684528361727cd8c0/sideband.c#L24
      https://github.com/git/git/blob/468165c1d8a442994a825f3684528361727cd8c0/sideband.c#L36
    
    LARGE_PACKET_MAX definition:
      https://github.com/git/git/blob/468165c1d8a442994a825f3684528361727cd8c0/pkt-line.h#L100
    
    Signed-off-by: Joseph Vusich <jvusich@amazon.com>
    josephvusich authored and jvusich committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    b4177b8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #797 from jvusich/fix/oversize-pkt-line

    plumbing: format: pktline, Accept oversized pkt-lines up to 65524 bytes
    mcuadros authored Apr 3, 2018
    Configuration menu
    Copy the full SHA
    247cf69 View commit details
    Browse the repository at this point in the history
  3. add PlainOpen variant to find .git in parent dirs

    This is the git tool's behavior that people are used to; if one runs a
    git command in a repository's subdirectory, git still works.
    
    Fixes #765.
    
    Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
    mvdan committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    5e8e011 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2018

  1. Merge pull request #784 from mvdan/open-detect

    add PlainOpen variant to find .git in parent dirs
    mcuadros authored Apr 4, 2018
    Configuration menu
    Copy the full SHA
    c4ace4d View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2018

  1. use bsd superset for conditional compilation

    Signed-off-by: wardn <wardn@users.noreply.github.com>
    wardn committed Apr 10, 2018
    Configuration menu
    Copy the full SHA
    8338105 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2018

  1. config: adds branches to config for tracking branches against remotes…

    …, updates clone to track when cloning a branch. Fixes #313
    
    Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>
    TheHipbot committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    02335b1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #804 from wardn/master

    use bsd superset for conditional compilation
    mcuadros authored Apr 11, 2018
    Configuration menu
    Copy the full SHA
    4099191 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #803 from TheHipbot/branch-tracking-on-clone

    config: adds branches to config for tracking branches against remotes…
    mcuadros authored Apr 11, 2018
    Configuration menu
    Copy the full SHA
    0db54e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2018

  1. dotgit: ignore filenames that don't match a hash

    For both packfiles and object files.
    
    Issue: keybase/client#11366
    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    6ea6016 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2018

  1. storage: dotgit, init fixtures in benchmark. Fixes #770

    fixtures is not initialized in BenchmarkRefMultipleTimes and caused
    panic.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Apr 16, 2018
    Configuration menu
    Copy the full SHA
    c3a1610 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #808 from jfontan/fix/benchmark-fixtures

    storage: dotgit, init fixtures in benchmark. Fixes #770
    mcuadros authored Apr 16, 2018
    Configuration menu
    Copy the full SHA
    a042efa View commit details
    Browse the repository at this point in the history
  3. git: remote, Add shallow commits instead of substituting. Fixes #412

    updateShallow substituted the previous shallow list with the one
    returned by the UploadPackResponse. If the repository had previous
    shallow commits these are deleted from the list.
    
    This change adds the new shallow hashes to the old ones.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Apr 16, 2018
    Configuration menu
    Copy the full SHA
    75da837 View commit details
    Browse the repository at this point in the history
  4. dotgit: add test for bad file in pack directory

    Suggested by mcuadros.
    
    Issue: #807
    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Apr 16, 2018
    Configuration menu
    Copy the full SHA
    79db8cf View commit details
    Browse the repository at this point in the history
  5. Resolve full commit sha to plumbing hash

    Signed-off-by: antham <hamonanth@gmail.com>
    antham committed Apr 16, 2018
    Configuration menu
    Copy the full SHA
    0c7d7c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2018

  1. Merge pull request #807 from keybase/strib/src-d-ignore-non-hash-files

    dotgit: ignore filenames that don't match a hash
    mcuadros authored Apr 17, 2018
    Configuration menu
    Copy the full SHA
    eec77c3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #810 from jfontan/fix/update-shallow

    git: remote, Add shallow commits instead of substituting. Fixes #412
    mcuadros authored Apr 17, 2018
    Configuration menu
    Copy the full SHA
    60fd949 View commit details
    Browse the repository at this point in the history
  3. storage: filesystem, close shallow file when read

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    46a247f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #706 from antham/resolve-commit-sha1

    Resolve full commit sha
    mcuadros authored Apr 17, 2018
    Configuration menu
    Copy the full SHA
    b30763c View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2018

  1. git: worktree, Skip special git directory. Fixes #814

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    6b33126 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #815 from kuba--/fix-worktree/814

    Fix for "Worktree Add function adds ".git" directory"
    mcuadros authored Apr 18, 2018
    Configuration menu
    Copy the full SHA
    87cc819 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2018

  1. Configuration menu
    Copy the full SHA
    47417ae View commit details
    Browse the repository at this point in the history

Commits on May 9, 2018

  1. Use remote name in fetch while clone

    Fixes #827
    
    Signed-off-by: Dustin Frisch <fooker@lab.sh>
    fooker committed May 9, 2018
    Configuration menu
    Copy the full SHA
    2eb97fb View commit details
    Browse the repository at this point in the history

Commits on May 11, 2018

  1. Worktree: Provide ability to add excludes (#825)

    Worktree: Provide ability to add excludes
    maguro authored and mcuadros committed May 11, 2018
    Configuration menu
    Copy the full SHA
    e63b032 View commit details
    Browse the repository at this point in the history
  2. Teach ResolveRevision how to look up annotated tags

    Signed-off-by: Mike Lundy <mike@fluffypenguin.org>
    novas0x2a committed May 11, 2018
    Configuration menu
    Copy the full SHA
    5dd9376 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2018

  1. git: remote, Do not iterate all references on update.

    The current code iterates all the references in the remote to check if
    they match the refspec. This is OK when the refspec is a wildcard but
    is a waste of time when they are not.
    
    A hash with references is generated for fast access before starting the
    update and used only when the refspec is not a wildcard.
    
    In a repository with 7800 references this meant 7800 * 7800 checks. With
    the current code it took 8m30s to update the references. With the new
    code it takes less than 0.5s.
    
    References are already extensively tested in remote_test.go.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed May 14, 2018
    Configuration menu
    Copy the full SHA
    939793b View commit details
    Browse the repository at this point in the history

Commits on May 16, 2018

  1. Merge pull request #833 from jfontan/slow-reference-update

    git: remote, Do not iterate all references on update.
    mcuadros authored May 16, 2018
    Configuration menu
    Copy the full SHA
    57570e8 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. idxfile: optimise allocations in readObjectNames

    This makes all the required Entry allocations in one go,
    instead of huge amounts of small individual allocations.
    
    Signed-off-by: David Symonds <dsymonds@golang.org>
    dsymonds committed May 30, 2018
    Configuration menu
    Copy the full SHA
    689e334 View commit details
    Browse the repository at this point in the history
  2. packfile: improve Index memory representation to be more compact

    Instead of using a map for offset indexing, use a sorted slice.
    Binary searching is fast, and a slice is much more compact.
    This has a negligible hit on speed, but has a significant impact on
    memory usage, especially for larger repos.
    
    benchmark                         old ns/op     new ns/op     delta
    BenchmarkIndexConstruction-12     15506506      14056098      -9.35%
    
    benchmark                         old allocs     new allocs     delta
    BenchmarkIndexConstruction-12     60764          60385          -0.62%
    
    benchmark                         old bytes     new bytes     delta
    BenchmarkIndexConstruction-12     4318145       3913169       -9.38%
    
    Signed-off-by: David Symonds <dsymonds@golang.org>
    dsymonds committed May 30, 2018
    Configuration menu
    Copy the full SHA
    cf532f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79b7f24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d87faec View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2018

  1. Merge pull request #845 from dsymonds/master

    idxfile: optimise allocations in readObjectNames
    mcuadros authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    8955f06 View commit details
    Browse the repository at this point in the history
  2. dotgit: Move package outside internal.

    Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    b0d807a View commit details
    Browse the repository at this point in the history
  3. Remove println

    Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    c39bd4d View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2018

  1. Merge pull request #854 from ajnavarro/dotgit-not-internal

    dotgit: Move package outside internal.
    mcuadros authored Jun 6, 2018
    Configuration menu
    Copy the full SHA
    ae788cf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #848 from josephvusich/fix/cve-2018-11235

    config: modules, worktree: Submodule fixes for CVE-2018-11235
    mcuadros authored Jun 6, 2018
    Configuration menu
    Copy the full SHA
    d33d3ef View commit details
    Browse the repository at this point in the history
  3. Merge pull request #846 from dsymonds/compact

    packfile: improve Index memory representation to be more compact
    mcuadros authored Jun 6, 2018
    Configuration menu
    Copy the full SHA
    73c775e View commit details
    Browse the repository at this point in the history
  4. plumbing: object, adds tree path cache to trees. Fixes #793

    The cache is used in Tree.FindEntry for faster path search.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    f019589 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2018

  1. Merge pull request #855 from jfontan/improvement/cache-tree-findentry

    plumbing: object, adds tree path cache to trees. Fixes #793
    mcuadros authored Jun 7, 2018
    Configuration menu
    Copy the full SHA
    a8a12e0 View commit details
    Browse the repository at this point in the history
  2. plumbing: packfile, Don't push empty objects. Fixes #840

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    88f0dc3 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2018

  1. Merge pull request #856 from kuba--/fix-840/corrupted-objects

    plumbing: packfile, Don't copy empty objects. Fixes #840
    mcuadros authored Jun 8, 2018
    Configuration menu
    Copy the full SHA
    b235700 View commit details
    Browse the repository at this point in the history
  2. storage: filesystem, make ObjectStorage constructor public

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Jun 8, 2018
    Configuration menu
    Copy the full SHA
    ecd2bd5 View commit details
    Browse the repository at this point in the history
  3. plumbing/transport: http, Adds token authentication support [Fixes #858]

    Signed-off-by: Eric Billingsley <ebilling@babrains.com>
    ebilling committed Jun 8, 2018
    Configuration menu
    Copy the full SHA
    bf61908 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Merge pull request #857 from erizocosmico/feature/object-storage-public

    storage: filesystem, make ObjectStorage constructor public
    mcuadros authored Jun 11, 2018
    Configuration menu
    Copy the full SHA
    e7cf6d2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #859 from ebilling/fix-858/token-authentication

    plumbing/transport: http, Adds token authentication support [Fixes #858]
    mcuadros authored Jun 11, 2018
    Configuration menu
    Copy the full SHA
    0710c6c View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2018

  1. Fix documentation for Notes

    It previously said that it returned all references that are branches, but that's not true.
    
    Signed-off-by: Morgan Bazalgette <the@howl.moe>
    thehowl committed Jun 16, 2018
    Configuration menu
    Copy the full SHA
    960fe7b View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. packfile: optimise NewIndexFromIdxFile for a very common case

    Loading from an on-disk idxfile will usually already have the idxfile
    entries in order, so check that before wasting time on sorting.
    
    Signed-off-by: David Symonds <dsymonds@golang.org>
    dsymonds committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    2d9816a View commit details
    Browse the repository at this point in the history
  2. Remote.Fetch: error on missing remote reference

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    b53ba8d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #869 from dsymonds/compact

    packfile: optimise NewIndexFromIdxFile for a very common case
    mcuadros authored Jun 21, 2018
    Configuration menu
    Copy the full SHA
    b11eaab View commit details
    Browse the repository at this point in the history
  4. storage/filesystem: avoid norwfs build flag

    norwfs build flag was used to work on filesystems that do not support neither opening a file in read/write mode or renaming a file (e.f. sivafs).
    
    This had two problems:
    
    - go-git could not be compiled to work properly both with regular filesystems and limited filesystems at the same time.
    - the norwfs trick was not available on Windows.
    
    This PR removes the norwfs build flag, as well as the windows conditional flag on the dotgit package.
    
    For the file open mode, we use the new billy capabilities, to check at runtime if the filesystem supports opening a file in read/write mode or not.
    
    For the renaming, we just try and fallback to alternative methods if billy.ErrNotSupported is returned.
    
    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    da5d474 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Merge pull request #870 from mcuadros/fetch-error

    Remote.Fetch: error on missing remote reference
    mcuadros authored Jun 26, 2018
    Configuration menu
    Copy the full SHA
    662e2c2 View commit details
    Browse the repository at this point in the history
  2. utils: diff, skip useless rune->string conversion

    According to library documentation :
    https://github.com/sergi/go-diff/blob/master/diffmatchpatch/diff.go#L391
    
    Signed-off-by: Marc Barussaud <marc.barussaud@orange.com>
    Marc Barussaud authored and smola committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    7d9b66f View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

  1. Merge pull request #873 from smola/fix-diff

    utils: diff, skip useless rune->string conversion
    mcuadros authored Jun 27, 2018
    Configuration menu
    Copy the full SHA
    fcfd239 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2018

  1. plumbing: add context to allow cancel on diff/patch computing

    Signed-off-by: Marc Barussaud <marc.barussaud@orange.com>
    Marc Barussaud authored and smola committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9251ea7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. worktree: add test for correct tree sorting (issue #881)

    Signed-off-by: Mark Bartel <github@spottybenny.ca>
    spottybenny committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    e1c2694 View commit details
    Browse the repository at this point in the history
  2. worktree: sort the tree object. Fixes #881

    Signed-off-by: Mark Bartel <github@spottybenny.ca>
    spottybenny committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    7ff71b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2018

  1. Merge pull request #864 from smola/no-norwfs

    storage/filesystem: avoid norwfs build flag
    mcuadros authored Jul 6, 2018
    Configuration menu
    Copy the full SHA
    8ad72db View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2018

  1. worktree: address PR comments: sort imports appropriately

    Signed-off-by: Mark Bartel <github@spottybenny.ca>
    spottybenny committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    f0c4318 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2018

  1. plumbing: object, expose ErrEntryNotFound in FindEntry. Fixes #883

    FindEntry will return ErrDirNotFound if the directory doesn't exist. But
    it doesn't return a public error if the entry itself is missing.  This
    exposes the internal error ErrEntryNotFound, so users can
    programmatically check for this condition.
    
    Signed-off-by: James Ravn <james@r-vn.org>
    jsravn committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    b304997 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #874 from smola/patchcontext

    plumbing: add context to allow cancel on diff/patch computing
    mcuadros authored Jul 10, 2018
    Configuration menu
    Copy the full SHA
    3bd5e82 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2018

  1. plumbing/transport/internal: common, add support of Gogs for ErrRepos…

    …itoryNotFound, avoiding to get an 'unknown error: '. Add some tests for existing supported services (github, gitlab, etc...) too.
    
    Signed-off-by: Jerome Doucet <jerdct@gmail.com>
    jeromedoucet committed Jul 14, 2018
    Configuration menu
    Copy the full SHA
    54d8c38 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2018

  1. Merge pull request #888 from jeromedoucet/tech/add_gog_repository_not…

    …_found
    
    plumbing/transport/internal: common, support Gogs for ErrRepositoryNotFound
    mcuadros authored Jul 16, 2018
    Configuration menu
    Copy the full SHA
    400b083 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #885 from jsravn/findentry-return-file-not-found

    plumbing: object, return ErrFileNotFound in FindEntry. Fixes #883
    mcuadros authored Jul 16, 2018
    Configuration menu
    Copy the full SHA
    5b1d537 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #862 from thehowl/patch-1

    git: fix documentation for Notes
    mcuadros authored Jul 16, 2018
    Configuration menu
    Copy the full SHA
    9f00789 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2018

  1. plumbing/object: fix pgp signature encoder/decoder

    The way of reading pgp signatures was searching for pgp begin line in
    the header. This caused problems when this string appeared and was not
    part of the signature. For example if it appears in the message as an
    example or is part of the author name the decoder starts treating it as
    a signature. In this state the code was not able to notice then the
    header ended so it entered in an infinite loop searching for pgp end
    string.
    
    Now it uses the same method as original git. Searches for gpgsig section
    in header and starts getting all lines until the next part.
    
    In encoder the string used to add signatures was incorrect. It is now
    changed to the proper "gpgsig" string instead of "pgpsig".
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    8df413f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2018

  1. plumbing/format/idxfile: add new Index and MemoryIndex

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Jul 19, 2018
    Configuration menu
    Copy the full SHA
    009f106 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2018

  1. Merge pull request #896 from erizocosmico/feature/new-index-decoder

    plumbing/format/idxfile: add new Index and MemoryIndex
    erizocosmico authored Jul 26, 2018
    Configuration menu
    Copy the full SHA
    a8ff3e5 View commit details
    Browse the repository at this point in the history
  2. plumbing/packfile: add new packfile parser

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    da5677f View commit details
    Browse the repository at this point in the history
  3. plumbing/packfile: disable lookup by offset

    In one case it disables the cache and the other disables lookup when
    the scanner is not seekable. Could be added back later.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    ce91d71 View commit details
    Browse the repository at this point in the history
  4. plumbing: idxfile, add idxfile.Writer with Observer interface

    It's still not complete:
    
    * 64 bit offsets
    * IdxChecksum
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    355cfc3 View commit details
    Browse the repository at this point in the history
  5. plumbing/idxfile: use Entry to hold object data

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    4e3765a View commit details
    Browse the repository at this point in the history
  6. plumbing/idxfile: support offset64 generating indexes

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    65e8359 View commit details
    Browse the repository at this point in the history
  7. plumbing/packfile: preallocate memory in PatchDelta

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    a716126 View commit details
    Browse the repository at this point in the history
  8. plumbing/idxfile: fix bug searching in MemoryIndex

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    7418b41 View commit details
    Browse the repository at this point in the history
  9. plumbing/idxfile: add offset/hash mapping to index

    This functionality may be moved elsewhere in the future but is needed
    now to fit filesystem.ObjectStorage and the new index.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    4ddd678 View commit details
    Browse the repository at this point in the history
  10. plumbing/idxfile: index is created only once and retrieved with Index

    Index is also automatically generated when OnFooter is called.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    74f56f3 View commit details
    Browse the repository at this point in the history
  11. plumbing, storage: integrate new index

    Now dotgit.PackWriter uses the new packfile.Parser and index.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    79f2494 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #898 from jfontan/feature/new-packfile-parser

    Feature/new packfile parser
    jfontan authored Jul 26, 2018
    Configuration menu
    Copy the full SHA
    a08061a View commit details
    Browse the repository at this point in the history
  13. plumbing: packfile, new Packfile representation

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    ffdfb7d View commit details
    Browse the repository at this point in the history
  14. plumbing, packfile: delete index_test as is no longer used

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    bc565c1 View commit details
    Browse the repository at this point in the history
  15. plumbing: fix two errors in idxfile and packfile decoder

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    4b366ac View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2018

  1. storage/filesystem: add back IndexStorage

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    3657a32 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #902 from jfontan/feature/new-packfile-parser

    Bugfixes and IndexStorage
    jfontan authored Jul 27, 2018
    Configuration menu
    Copy the full SHA
    b713101 View commit details
    Browse the repository at this point in the history
  3. plumbing: packfile, lazy object reads with DiskObjects

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    ccd0fa0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #899 from erizocosmico/feature/new-packfile

     plumbing: packfile, new Packfile representation
    erizocosmico authored Jul 27, 2018
    Configuration menu
    Copy the full SHA
    0ade8fb View commit details
    Browse the repository at this point in the history
  5. plumbing/idxfile: test FindHash and writer with 64 bit offsets

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    823abfe View commit details
    Browse the repository at this point in the history
  6. storage/filesystem: remove duplicated IndexStorage

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    6f8f2ed View commit details
    Browse the repository at this point in the history
  7. plumbing/packfile: add index generation to decoder

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    b4cd089 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #904 from jfontan/feature/new-packfile-parser

    Tests and indexes in packfile decoder
    jfontan authored Jul 27, 2018
    Configuration menu
    Copy the full SHA
    d314e86 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2018

  1. Fix wrong godoc on Tags() method.

    Reword Tags() method documentation. Point to TagObjects() method to get all the tags on a repository.
    
    Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Jul 30, 2018
    Configuration menu
    Copy the full SHA
    3d2bcda View commit details
    Browse the repository at this point in the history
  2. plumbing: packfile, fix package tests

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Jul 30, 2018
    Configuration menu
    Copy the full SHA
    6f7fc05 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. Merge pull request #907 from erizocosmico/feature/fix-tests

    plumbing: packfile, fix package tests
    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    b173cc0 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2018

  1. Merge pull request #905 from ajnavarro/fix/tag-godoc

    Fix wrong godoc on Tags() method.
    mcuadros authored Aug 2, 2018
    Configuration menu
    Copy the full SHA
    c58d68a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Merge pull request #892 from jfontan/fix/get-pgp-signature

    plumbing/object: fix pgp signature encoder/decoder
    mcuadros authored Aug 7, 2018
    Configuration menu
    Copy the full SHA
    43d17e1 View commit details
    Browse the repository at this point in the history
  2. *: use parser to populate non writable storages and bug fixes

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    6a24b4c View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Fixed cloning of a single tag

    Relates to #870
    
    Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
    fkorotkov committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    7b12481 View commit details
    Browse the repository at this point in the history
  2. plumbing: packfile, allow non-seekable sources on Parser

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    5889a3b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2018

  1. plumbing: packfile, add Parse benchmark

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    b3d995f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #910 from fkorotkov/fedor/fix-tag-cloning

    Fixed cloning of a single tag
    mcuadros authored Aug 9, 2018
    Configuration menu
    Copy the full SHA
    c374092 View commit details
    Browse the repository at this point in the history
  3. plumbing: packfile, read object content only once

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    71a3c91 View commit details
    Browse the repository at this point in the history
  4. storage: filesystem, benchmark PackfileIter

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    34cc506 View commit details
    Browse the repository at this point in the history
  5. plumbing: packfile, rename DiskObject to FSObject

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    65dc4f9 View commit details
    Browse the repository at this point in the history
  6. storage: filesystem, close Packfile after iterating objects

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    038cf23 View commit details
    Browse the repository at this point in the history
  7. storage: filesystem, add PackfileIter benchmark reading object content

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    d93b386 View commit details
    Browse the repository at this point in the history
  8. plumbing: packfile, open and close packfile on FSObject reads

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    56c5e91 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2018

  1. git: add benchmark for iterating repository objects

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    b944bc4 View commit details
    Browse the repository at this point in the history
  2. plumbing: idxfile, Crc32 to CRC32 and return ok from findHashIndex

    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    8d75d23 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2018

  1. Merge pull request #906 from src-d/perf/packfile-reads

    Improve packfile reading performance
    mcuadros authored Aug 14, 2018
    Configuration menu
    Copy the full SHA
    a28c2ce View commit details
    Browse the repository at this point in the history
  2. plumbing: add buffer cache and use it in packfile parser

    It uses less memory and is faster as slices don't have to be converted
    from/to MemoryObject and they are indexed by offset.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    a8c4426 View commit details
    Browse the repository at this point in the history
  3. plumbing/pacfile: tidy up objectInfo struct

    * a new hasher is created when needed
    * delete unused fields
    * base content is no longer kept in memory
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    555a6ca View commit details
    Browse the repository at this point in the history
  4. plumbing/packfile: do not compute sha1 for already undeltified objects

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    eb2aa9b View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2018

  1. added hook support

    Signed-off-by: noxora <ldecker@indeed.com>
    
    trying a possible fix to the delete test
    
    Signed-off-by: noxora <ldecker@indeed.com>
    
    still trying to fix this test
    
    Signed-off-by: noxora <ldecker@indeed.com>
    
    fixes did not work, seems to be a windows env problem
    
    Signed-off-by: noxora <ldecker@indeed.com>
    noxora committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ae55016 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. plumbing: object, Don't add new line at end of commit signature

    The way that commit signatures were being written out was causing an
    extra newline to be written at the end of the commit when the message
    encoding was already taking care of this. Ultimately, this results in a
    corrupt object, rendering the object unverifiable with the signature in
    the commit.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    ec3d2a8 View commit details
    Browse the repository at this point in the history
  2. git: Add ability to PGP sign commits

    This adds the ability to sign commits by adding the SignKey field to
    CommitOptions. If present, the commit will be signed during the
    WorkTree.Commit call.
    
    The supplied SignKey must already be decrypted by the caller.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    0ef699d View commit details
    Browse the repository at this point in the history
  3. git: Remove use of strings.Builder

    This was added in Go 1.10 and is not supported on Go 1.9. Switched to
    bytes.Buffer to ensure compatibility.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    c9b2eac View commit details
    Browse the repository at this point in the history
  4. git: Remove old hash validation code

    This will not work for a signed commit as with the GPG signature being a
    part of the commit, the hash is now non-deterministic.
    
    Verification of the commit is done through the validation of the
    signature.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    b2edb6d View commit details
    Browse the repository at this point in the history
  5. git: Add extra test for testing bad key error case

    I'm hoping this helps get codecov to a tolerable delta. :)
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    39954f2 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #916 from jfontan/improvement/memory-consumption-n…

    …ew-packfile-parser
    
    Improvement/memory consumption new packfile parser
    mcuadros authored Aug 17, 2018
    Configuration menu
    Copy the full SHA
    ba0f659 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #920 from vancluever/f-add-commit-signkey

    git: Add ability to PGP sign commits
    mcuadros authored Aug 17, 2018
    Configuration menu
    Copy the full SHA
    7b6c126 View commit details
    Browse the repository at this point in the history
  8. dotgit: fix object delete test

    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    8cf7edb View commit details
    Browse the repository at this point in the history
  9. object: fix panic when reading object header

    When the first line of the pgp signature is an empty line or some header
    is malformed it crashes as there's no data for the header element. For
    example, if author name is "\n".
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    1666236 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2018

  1. Fixed an edge case for .gitignore

    Fixes #923
    
    Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
    fkorotkov committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    7b4a837 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Merge pull request #924 from fkorotkov/fedor/fix-issue-923

    Fixed an edge case for .gitignore
    mcuadros authored Aug 20, 2018
    Configuration menu
    Copy the full SHA
    1cef577 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. Merge pull request #921 from jfontan/fix/empty-headers

    plumbing/object: fix panic when reading object header
    mcuadros authored Aug 21, 2018
    Configuration menu
    Copy the full SHA
    8120de8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #887 from noxora/hook-support

    added support for quarantine directory
    mcuadros authored Aug 21, 2018
    Configuration menu
    Copy the full SHA
    cc27d4a View commit details
    Browse the repository at this point in the history
  3. plumbing/idxfile: object iterators returns entries in offset order

    In the latest change the order was changed from offset order in
    packfiles to hash order. This makes reading all the objects not as
    efficient as before. It also created problems when the previous order
    was expected.
    
    Also added EntriesByOffset to indexes.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    f84c6b1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #927 from jfontan/fix/iterate-objects-by-offset

    plumbing/idxfile: object iterators returns entries in offset order
    mcuadros authored Aug 21, 2018
    Configuration menu
    Copy the full SHA
    cdfa0bb View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2018

  1. git: Add tagging support

    This adds a few methods:
    
    * CreateTag, which can be used to create both lightweight and annotated
    tags with a supplied TagObjectOptions struct. PGP signing is possible as
    well.
    * Tag, to fetch a single tag ref. As opposed to Tags or TagObjects, this
    will also fetch the tag object if it exists and return it along with the
    output. Lightweight tags just return the object as nil.
    * DeleteTag, to delete a tag. This simply deletes the ref. The object is
    left orphaned to be GCed later.
    
    I'm not 100% sure if DeleteTag is the correct behavior - looking for
    details on exactly *what* happens to a tag object if you delete the ref
    and not the tag were sparse, and groking the Git source did not really
    produce much insight to the untrained eye. This may be something that
    comes up in review. If deletion of the object is necessary, the
    in-memory storer may require some updates to allow DeleteLooseObject to
    be supported.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    b9f5efe View commit details
    Browse the repository at this point in the history
  2. plumbing: object, correct tag PGP encoding

    As with the update in ec3d2a8, tag encoding needed to be corrected to
    ensure extra newlines were not being added in during tag object
    encoding, so that it did not corrupt the object for verification.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    9b73a3e View commit details
    Browse the repository at this point in the history
  3. plumbing: object, don't add extra newline on PGP signature

    Tag encoding/decoding seems to be a lot more sensitive to requiring the
    exact expected format in the object, which generally includes messages
    canonicalized so that they have a newline on the end (even if they
    didn't before).
    
    As such, the message should be written with the newline (no need for an
    extra), and the PGP signature right after that, which will be newline
    split already, so there's no need to split it again.
    
    All of this means it's very important for the caller to send the message
    in the correct format - which I'm correcting in the next commit.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    8c3c8b3 View commit details
    Browse the repository at this point in the history
  4. git: Canonicalize incoming annotated tag messages

    Tag messages are highly sensitive to being in the expected format,
    especially when encoding/decoding for PGP verification.
    
    As such, we do a simple trimming of whitespace on the incoming message
    and add a newline on the end, to ensure there are no surprises here.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    2c2b532 View commit details
    Browse the repository at this point in the history
  5. git: Replace test signing key with one with longer expiry

    The old one was created with defaults, which would have caused CI
    failures in 2 years.
    
    The new one is valid for 10 years:
    
    > gpg --list-secret-keys
    /root/.gnupg/pubring.kbx
    ------------------------
    sec   rsa4096 2018-08-22 [SC] [expires: 2028-08-19]
          93A17FF01E54328546087C8E029395402EFCCD53
    uid           [ unknown] foo bar <foo@foo.foo>
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    8d8d4c5 View commit details
    Browse the repository at this point in the history
  6. plumbing, storage: add bases to the common cache

    After clone only resolved deltas were added to the cache. This caused
    slowdowns in small repositories where most objects can be held in cache.
    
    It also makes packfiles reuse delta cache from the store. Previously it
    created a new delta cache each time a packfile object was created. This
    also slowed down a bit accessing objects and had an impact on memory
    consumption when bases are added to the cache.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    790191e View commit details
    Browse the repository at this point in the history
  7. Merge pull request #929 from jfontan/fix/reuse-base-cache

    plumbing, storage: add bases to the common cache
    mcuadros authored Aug 22, 2018
    Configuration menu
    Copy the full SHA
    005d5dc View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. git: Discern tag target type from supplied hash

    I figured there was a way to do this without having to have
    TagObjectOptions supply this in - there is.
    
    Added support for this in and removed the object type from
    TagObjectOptions.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    119459a View commit details
    Browse the repository at this point in the history
  2. git: Don't return tag object with Tag, adjust docs for Tag and Tags

    I've mainly noticed that in using the current Tag function, that there
    were lots of times that I was ignoring the ref or the object, depending
    on what I needed. This was evident in the tests as well. As such, I
    think it just makes more sense for a singular tag fetcher to return just
    a ref, through which the caller may grab the annotation if they need it,
    and if it exists.
    
    Also, contrary to the docs on Tags, all tags have a ref, even if they
    are annotated. The difference between a lightweight tag and an annotated
    tag is the presence of the tag object, which the ref will point to if
    the tag is annotated. As such I've adjusted the docs with an example as
    to how one can get the annotation for a tag ref through the iterator.
    
    Source: https://git-scm.com/book/en/v2/Git-Internals-Git-References,
    tags section.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    01631f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2018

  1. storage/dotgit: search for incoming dir only once

    Search for incoming object directory was done once each time objects
    were accessed. This means a ReadDir of the objects path that is
    expensive. Now incoming directory is searched the first time an object
    is accessed and its name kept in DotGit to be reused.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 25, 2018
    Configuration menu
    Copy the full SHA
    c7a4011 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. storage/dotgit: use HasPrefix instead of Split

    Also reformatted function comment and fixed some typos.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    b1da90b View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Merge pull request #935 from jfontan/improvement/cache-incoming-direc…

    …tory
    
    storage/dotgit: search for incoming dir only once
    mcuadros authored Aug 29, 2018
    Configuration menu
    Copy the full SHA
    5cc316b View commit details
    Browse the repository at this point in the history
  2. Remove empty dirs when cleaning with Dir opt.

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    0167dab View commit details
    Browse the repository at this point in the history
  3. Add Status.IsUntracked function

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    75fa41d View commit details
    Browse the repository at this point in the history
  4. plumbing: object: Clamp object timestamps before unix epoch to unix e…

    …poch
    
    Signed-off-by: Taru Karttunen <taruti@taruti.net>
    taruti committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    ba3ee05 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #933 from kuba--/fix-895/clean-dir

    Remove empty dirs when cleaning with Dir opt.
    mcuadros authored Aug 29, 2018
    Configuration menu
    Copy the full SHA
    34b101e View commit details
    Browse the repository at this point in the history
  6. config: add commentChar to core config struct

    Signed-off-by: Zaq? Wiedmann <zaquestion@gmail.com>
    zaquestion committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    14d9faa View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. Merge pull request #937 from zaquestion/comment_char

    config: add commentChar to core config struct
    mcuadros authored Aug 30, 2018
    Configuration menu
    Copy the full SHA
    7f42492 View commit details
    Browse the repository at this point in the history
  2. git: add Static option to PlainOpen

    Also adds Static configuration to Storage and DotGit. This option means
    that the git repository is not expected to be modified while open and
    enables some optimizations.
    
    Each time a file is accessed the storer tries to open an object file for
    the requested hash. When this is done for a lot of objects it is
    expensive. With Static option a list of object files is generated the
    first time an object is accessed and used to check if exists instead of
    using system calls.
    
    A similar optimization is done for packfiles.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    1e1a7d0 View commit details
    Browse the repository at this point in the history
  3. git, storer: use a common storer.Options for storer and PlainOpen

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    82945e3 View commit details
    Browse the repository at this point in the history
  4. dotgit: fix typo in comment

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    d7e6cf5 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. git: do not expose storage options in PlainOpen

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    2a7c664 View commit details
    Browse the repository at this point in the history
  2. plumbing/storer: rename Static option to ExclusiveAccess

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    cf62667 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2018

  1. storage/filesystem: make Storage options private

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    95acbf6 View commit details
    Browse the repository at this point in the history
  2. storage/filesystem: move Options to filesytem and dotgit

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    874f669 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. storage/dotgit: add ExclusiveAccess tests in dotgit

    This functionality was already tested in storage/filesystem.
    The coverage tool only takes into account files from the same
    package of the test.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    659ec44 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #939 from keybase/taruti/cherrypick-for-upstream-c…

    …lamp-object-timestamp
    
    Clamp object timestamps before unix epoch to unix epoch
    mcuadros authored Sep 4, 2018
    Configuration menu
    Copy the full SHA
    8e76874 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #941 from jfontan/improvement/static-mode

    plumbing/storer: add ExclusiveAccess option to Storer
    mcuadros authored Sep 4, 2018
    Configuration menu
    Copy the full SHA
    2f15838 View commit details
    Browse the repository at this point in the history
  4. storage/dotgit: add KeepDescriptors option

    This option maintains packfile file descriptors opened after reading
    objects from them. It improves performance as it does not have to be
    opening packfiles each time an object is needed.
    
    Also adds Close to EncodedObjectStorer to close all the files manualy.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    6384ab9 View commit details
    Browse the repository at this point in the history
  5. plumbing/storer: do not expose Close in EncodedObjectStorer interface

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    5260b87 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. storage/filesystem: add KeepDescriptors test

    Also delete Close from MockObjectStorage and memory storer.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    9013dde View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. storage/filesystem: compare files using offset in test

    Using equals to compare files it uses diff to do so. This can
    potentially consume lots of ram. Changed the comparison to use file
    offsets. If the descriptor is reused the offset is maintained.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    8176f08 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #942 from jfontan/improvement/maintain-packfiles-open

    storage/dotgit: add KeepDescriptors option
    mcuadros authored Sep 6, 2018
    Configuration menu
    Copy the full SHA
    174f373 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3cec13 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. plumbing/transport: ssh check if list of known_hosts files is empty

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- authored and mcuadros committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    a4b12e4 View commit details
    Browse the repository at this point in the history
  2. Fix fatal corrupt patch in unified diff format

    Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    80170bd View commit details
    Browse the repository at this point in the history
  3. Expose Storage cache.

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    8f6b312 View commit details
    Browse the repository at this point in the history
  4. git: s/fetch/returns/ on Tag function doc

    This is to avoid any ambiguity with the act of "fetching" in git in
    general.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    6b3f46b View commit details
    Browse the repository at this point in the history
  5. git: Add Tag objects to the list of supported objects for walking

    This is necessary to support pruning on Tag objects.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    1000bc0 View commit details
    Browse the repository at this point in the history
  6. git: Don't touch tag objects orphaned by tag deletion

    Deleting a tag ref for an annotated tag in normal git behavior does not
    delete the tag object right away. This is handled by the normal GC
    process.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    b19b3b8 View commit details
    Browse the repository at this point in the history
  7. git: Add some tests for annotated tag deletion

    Added a couple of tests for annotated tag deletion:
    
    * The first one is a general test and should work regardless of the
    fixture used - the tag object could possibly be packed, so we do a prune
    *and* a repack operation before testing to see if the object was GCed
    correctly.
    
    * The second one actually creates the tag to be deleted, so that the tag
    object gets created as a loose, unpacked object. This is so we can
    effectively test that purning unpacked objects is now working 100%
    correctly (this was failing before because tag objects were not
    supported for walking).
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    9cc654c View commit details
    Browse the repository at this point in the history
  8. git: s/TagObjectOptions/CreateTagOptions/

    Just renaming the TagObjectOptions type to CreateTagOptions so that it's
    consistent with the other option types.
    
    Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
    vancluever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    f8adfff View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2018

  1. Merge pull request #949 from kuba--/custom-cache

    Expose Storage cache.
    mcuadros authored Sep 8, 2018
    Configuration menu
    Copy the full SHA
    208b3c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Merge pull request #932 from flant/fix-negative-range-info

    Fix `fatal: corrupt patch` error in unified diff format
    mcuadros authored Sep 10, 2018
    Configuration menu
    Copy the full SHA
    a2d62f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf0593d View commit details
    Browse the repository at this point in the history
  3. repository: fix test for new Storage constructor

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    9ce4eea View commit details
    Browse the repository at this point in the history
  4. Merge pull request #928 from vancluever/f-add-tagging-support

    git: Add tagging support
    mcuadros authored Sep 10, 2018
    Configuration menu
    Copy the full SHA
    38060c9 View commit details
    Browse the repository at this point in the history
  5. *: go modules support

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    83649a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2fb32d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. Fix potential LRU cache size issue.

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    4896974 View commit details
    Browse the repository at this point in the history
  2. Remove empty space to trigger windows build.

    Signed-off-by: kuba-- <kuba@sourced.tech>
    kuba-- committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    edfc16e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2018

  1. Merge pull request #958 from kuba--/fix-cachesize

    Fix potential LRU cache size issue.
    mcuadros authored Sep 18, 2018
    Configuration menu
    Copy the full SHA
    f69f530 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. storage/filesystem: keep packs open in PackfileIter

    PackfileIter was not taking into account the option KeepDescriptors
    and was always closing the file. This caused "file already closed"
    errors when iterating packfiles in with KeepDescriptors active.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    82c7a30 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. storage/filesystem: add more doc to NewPackfileIter

    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Sep 21, 2018
    Configuration menu
    Copy the full SHA
    a7b0102 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #962 from jfontan/fix/do-not-close-files-in-iterator

    storage/filesystem: keep packs open in PackfileIter
    mcuadros authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    c2ab4ac View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. all: remove extra 's' in "mismatch"

    Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr>
    jmkim committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    156d632 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #966 from jmkim/fix-typo

    all: remove extra 's' in "mismatch"
    mcuadros authored Sep 26, 2018
    Configuration menu
    Copy the full SHA
    1fdd36c View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. test: improve test for urlencoded user:pass

    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    37f80c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. use time.IsZero in Prune

    Signed-off-by: u5surf <u5.horie@gmail.com>
    u5surf committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    41af429 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2018

  1. Add test for Windows local paths.

    Signed-off-by: Filip Navara <navara@emclient.com>
    filipnavara committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    c2ba07b View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2018

  1. git: Fix Status.IsClean() documentation

    The documentation of the IsClean Method contained a negation, so it was
    describing the opposite of its actual behavior.
    
    Fixes #838
    
    Signed-off-by: David Url <david@urld.io>
    urld committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    da56abd View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2018

  1. Merge pull request #968 from smola/improve-test-weird-userpass

    test: improve test for urlencoded user:pass
    mcuadros authored Oct 9, 2018
    Configuration menu
    Copy the full SHA
    80afdec View commit details
    Browse the repository at this point in the history
  2. Merge pull request #974 from u5surf/issue-813

    use time.IsZero in Prune
    mcuadros authored Oct 9, 2018
    Configuration menu
    Copy the full SHA
    ba9c38b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #978 from urld/isclean

    git: Fix Status.IsClean() documentation
    mcuadros authored Oct 9, 2018
    Configuration menu
    Copy the full SHA
    37caf1f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #977 from filipnavara/config-test

    config: Add test for Windows local paths.
    mcuadros authored Oct 9, 2018
    Configuration menu
    Copy the full SHA
    299f583 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Plumbing: object, Add support for Log with filenames. Fixes #826 (#979)

    plumbing: object, Add support for Log with filenames. Fixes #826
    gnithin authored and mcuadros committed Oct 11, 2018
    Configuration menu
    Copy the full SHA
    0bfe038 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. object: get object size without reading whole object

    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    1e1315d View commit details
    Browse the repository at this point in the history
  2. tree: add a Size() method for getting plaintext size

    Without reading the entire object into memory.
    
    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    5c471c3 View commit details
    Browse the repository at this point in the history
  3. filesystem: add a new test for EncodedObjectSize

    Suggested by taruti.
    
    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    b3a3f0a View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2018

  1. repository: allow open non-bare repositories as bare

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    987c03a View commit details
    Browse the repository at this point in the history
  2. use remote name in fetch while clone, test

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    529f843 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #828 from fooker/patch-1

    Use remote name in fetch while clone
    mcuadros authored Oct 15, 2018
    Configuration menu
    Copy the full SHA
    0381008 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'bugfix/references-sort-timestamps' of github.com:krylov…

    …sk/go-git into bugfix/references-sort-timestamps
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    d4848fd View commit details
    Browse the repository at this point in the history
  5. references: sort: compare author timestamps when commit timestamps ar…

    …e equal, test
    
    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    e250584 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #727 from krylovsk/bugfix/references-sort-timestamps

    references: sort: compare author timestamps when commit timestamps are equal. Fixes #725
    mcuadros authored Oct 15, 2018
    Configuration menu
    Copy the full SHA
    345ffd9 View commit details
    Browse the repository at this point in the history
  7. teach ResolveRevision how to look up annotated tags, test

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    0b7d3fe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a77bde View commit details
    Browse the repository at this point in the history
  9. teach ResolveRevision how to look up annotated tags, test

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    323d084 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #830 from novas0x2a/annotated

    Teach ResolveRevision how to look up annotated tags
    mcuadros authored Oct 15, 2018
    Configuration menu
    Copy the full SHA
    8153e04 View commit details
    Browse the repository at this point in the history
  11. packfile: add comment on GetSizeByOffset

    Suggested by mcuadros.
    
    Issue: #982
    Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
    strib committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    6faf286 View commit details
    Browse the repository at this point in the history
  12. blame: fix edge case with missing \n in content length causing mismat…

    …ched length error
    
    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    c4be044 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2018

  1. Merge pull request #982 from keybase/strib/gh-KBFS-3474-object-sizes

    tree: add a Size() method for getting plaintext size
    mcuadros authored Oct 16, 2018
    Configuration menu
    Copy the full SHA
    41d6f2c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #986 from mcuadros/fix-blame

    blame: fix edge case with missing \n in content length causing mismatched length error
    mcuadros authored Oct 16, 2018
    Configuration menu
    Copy the full SHA
    236ae86 View commit details
    Browse the repository at this point in the history
  3. repository: improve CheckoutOption.Hash doc

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    891fcfb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #984 from mcuadros/open-bare

    repository: allow open non-bare repositories as bare
    mcuadros authored Oct 16, 2018
    Configuration menu
    Copy the full SHA
    07c03d9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #985 from mcuadros/checkout-doc

    repository: improve CheckoutOption.Hash doc
    mcuadros authored Oct 16, 2018
    Configuration menu
    Copy the full SHA
    cd64b4d View commit details
    Browse the repository at this point in the history
  6. remote: use reference deltas on push when the remote server does not

    support offset deltas
    
    Signed-off-by: Benjamin Ash <bash@intelerad.com>
    Benjamin Ash committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    1618e1c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Fixed a typo. (#989)

    README: Fixed a typo.
    hnarasaki authored and mcuadros committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    1a2248b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #987 from bashims/945-push-ref-deltas

    remote: use reference deltas on push when the remote server does not …
    mcuadros authored Oct 17, 2018
    Configuration menu
    Copy the full SHA
    f2a7dad View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Enables building on openbsd, dragonfly bsd and solaris

    Signed-off-by: Yuce Tekol <yucetekol@gmail.com>
    yuce committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    1241d74 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. plumbing/format/packfile: Fix broken "thin" packfile support. Fixes #991

    
    
    Signed-off-by: Javier Peletier <jm@epiclabs.io>
    jpeletier committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    66d82a5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #992 from yuce/enable-openbsd-dragonfly-solaris

    git: enables building on OpenBSD, Dragonfly BSD and Solaris
    mcuadros authored Oct 23, 2018
    Configuration menu
    Copy the full SHA
    50bbba3 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. plumbing: ReferenceName constructors

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    dee8f51 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2018

  1. Merge pull request #998 from mcuadros/ref-helpers

    plumbing: ReferenceName constructors
    mcuadros authored Oct 25, 2018
    Configuration menu
    Copy the full SHA
    f22a5cb View commit details
    Browse the repository at this point in the history
  2. examples & documentation: PlainClone with Basic Authentication (Passw…

    …ord & Access Token) (#990)
    
    examples: PlainClone with Basic Authentication (Password & Access Token)
    Colton J. McCurdy authored and mcuadros committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    cde0367 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. add StackOverflow to support channels

    Since we are not redirecting users to StackOverflow for support
    questions, it makes sense to add it to the official support channels.
    
    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    a85f9b1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1000 from smola/stackoverflow-support

    add StackOverflow to support channels
    mcuadros authored Oct 26, 2018
    Configuration menu
    Copy the full SHA
    4203e78 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2018

  1. plumbing: transport/http, Add missing host/port on redirect. Fixes #820

    Signed-off-by: Dave Henderson <dhenderson@gmail.com>
    hairyhenderson committed Oct 27, 2018
    Configuration menu
    Copy the full SHA
    02a92b7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1001 from hairyhenderson/fix-redirect-on-clone

    plumbing: transport/http, Add missing host/port on redirect. Fixes #820
    mcuadros authored Oct 27, 2018
    Configuration menu
    Copy the full SHA
    414b027 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. Fix spelling and grammar in docs and example

    Signed-off-by: Lukasz Kokot <lukasz@kumojin.com>
    LukaszKokot committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    190bfd6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1004 from LukaszKokot/fix/spelling-grammar-doc-ex…

    …ample
    
    Fix spelling and grammar in docs and example
    mcuadros authored Oct 29, 2018
    Configuration menu
    Copy the full SHA
    af3487d View commit details
    Browse the repository at this point in the history
  3. update gcfg dependency to v1.4.0

    Signed-off-by: Dave Henderson <dhenderson@gmail.com>
    hairyhenderson committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    4c06868 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1005 from hairyhenderson/update-gcfg-1.4.0

    update gcfg dependency to v1.4.0
    mcuadros authored Oct 29, 2018
    Configuration menu
    Copy the full SHA
    dfd6c82 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. repository: added cleanup for the PlainCloneContext()

    Signed-off-by: Bartek Jaroszewski <jaroszewskibartek@gmail.com>
    bjaroszewski authored and smola committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    507681b View commit details
    Browse the repository at this point in the history
  2. improve cleanup implementation, add more tests

    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    3332e8d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1008 from smola/clone-cleanup

    cleanup after failed clone
    mcuadros authored Oct 30, 2018
    Configuration menu
    Copy the full SHA
    8b6ded6 View commit details
    Browse the repository at this point in the history
  4. Update LICENSE

    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros authored Oct 30, 2018
    Configuration menu
    Copy the full SHA
    3033d45 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2018

  1. http: improve TokenAuth documentation

    Users are often confused with TokenAuth, since it might look that it
    should be used with GitHub's OAuth tokens. But that is not the case.
    
    TokenAuth implements HTTP bearer authentication. Most git servers will
    use HTTP basic authentication (user+passwords) even for OAuth tokens.
    
    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    8aab983 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1009 from smola/tokenauth-doc

    http: improve TokenAuth documentation
    mcuadros authored Oct 31, 2018
    Configuration menu
    Copy the full SHA
    959dc01 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2018

  1. plumbing: ssh, Fix flaky test TestAdvertisedReferencesNotExists. Fixes

    …#969
    
    Signed-off-by: Colton McCurdy <mccurdyc22@gmail.com>
    mccurdyc committed Nov 1, 2018
    Configuration menu
    Copy the full SHA
    43d4551 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fe6f65 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2018

  1. Merge pull request #1013 from mccurdyc/mccurdyc/Issue#969/fix-flaky-s…

    …sh-test
    
     plumbing: ssh, Fix flaky test TestAdvertisedReferencesNotExists. Fixes #969
    mcuadros authored Nov 5, 2018
    Configuration menu
    Copy the full SHA
    91e601d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. repository: Fix RefSpec for a single tag. Fixes #960

    Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
    fkorotkov committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    3ab4ee5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1015 from fkorotkov/fedor/fix-tag-clonning

    repository: Fix RefSpec for a single tag.
    mcuadros authored Nov 7, 2018
    Configuration menu
    Copy the full SHA
    a779a26 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2018

  1. storage/filesystem: Added reindex method to reindex packfiles

    Signed-off-by: Javier Peletier <jm@epiclabs.io>
    jpeletier committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    ff47322 View commit details
    Browse the repository at this point in the history
  2. plumbing/format/packfile: Added thin pack test

    Signed-off-by: Javier Peletier <jm@epiclabs.io>
    jpeletier committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    38ebf56 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2018

  1. Remove unused method (#1022)

    Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
    ajnavarro authored and mcuadros committed Nov 16, 2018
    Configuration menu
    Copy the full SHA
    1e77971 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #994 from epiclabs-io/fix-thin-pack

    plumbing/format/packfile: Fix broken "thin" packfile support. Fixes #991
    mcuadros authored Nov 16, 2018
    Configuration menu
    Copy the full SHA
    7853ab6 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2018

  1. Merge pull request #1019 from epiclabs-io/reindex

    storage/filesystem: Added reindex method to  reindex packfiles
    mcuadros authored Nov 19, 2018
    Configuration menu
    Copy the full SHA
    2431109 View commit details
    Browse the repository at this point in the history
  2. plumbing: format/index: support for EOIE extension, by default on git…

    … v2.2.0
    
    Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
    mcuadros committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    b99653a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1025 from mcuadros/eoie

    plumbing: format/index: support for EOIE extension
    mcuadros authored Nov 19, 2018
    Configuration menu
    Copy the full SHA
    f62cd8e View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2018

  1. repository: fix plain clone error handling regression

    PR #1008 introduced a regression by changing the errors returned by
    PlainClone when a repository did not exist.
    
    This change goes back to returned errors as they were in v4.7.0.
    
    Fixes #1027
    
    Signed-off-by: Santiago M. Mola <santi@mola.io>
    smola committed Nov 27, 2018
    Configuration menu
    Copy the full SHA
    7441885 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1028 from smola/clone-regression

    repository: fix plain clone error handling regression
    mcuadros authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    3dbfb89 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2018

  1. plumbing: format/packfile, performance optimizations for reading larg…

    …e commit histories (#963)
    
    Signed-off-by: Filip Navara <navara@emclient.com>
    filipnavara authored and mcuadros committed Nov 28, 2018
    Configuration menu
    Copy the full SHA
    8f52c50 View commit details
    Browse the repository at this point in the history