aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* object: patch, test patch on submodulesMáximo Cuadros2017-12-071-0/+44
|
* Ignore empty patches when calculating stats (fixes #654)Alexandr Krylovskiy2017-12-041-0/+5
|
* Merge pull request #674 from ferhatelmas/time-equalMáximo Cuadros2017-12-041-1/+1
|\ | | | | dotgit: use Equal method of time.Time for equality
| * dotgit: use Equal method of time.Time for equalityferhat elmas2017-12-041-1/+1
|/
* Fix revision solver for branch and tag (#660)Anthony HAMON2017-12-017-54/+82
| | | fix Repository.ResolveRevision for branch and tag
* Merge pull request #672 from ferhatelmas/gofmt-sMáximo Cuadros2017-12-0112-22/+22
|\ | | | | all: gofmt -s
| * all: gofmt -sferhat elmas2017-11-3012-22/+22
| |
* | Merge pull request #669 from keybase/strib/gh-gcMáximo Cuadros2017-12-0115-74/+928
|\ \ | |/ |/| storage/repository: add new functions for garbage collection
| * dotgit: rewrite packed-refs while holding lockJeremy Stribling2017-11-303-60/+103
| | | | | | | | | | | | Windows file system doesn't let us rename over a file while holding that file's lock, so use rewrite as a last resort. It could result in a partially-written file, if there's a failure at the wrong time.
| * dotgit: open+lock packed-refs file until it doesn't changeJeremy Stribling2017-11-291-18/+46
| | | | | | | | Windows doesn't like it when we re-open a file we already have locked.
| * repository: oops, fix the prune testJeremy Stribling2017-11-291-2/+3
| |
| * repository: add tests for pruning and object re-packingJeremy Stribling2017-11-293-0/+150
| | | | | | | | | | Also, object re-packing should clean up any loose objects that were packed.
| * storer: separate loose and packed object mgmt into optional ifacesJeremy Stribling2017-11-294-49/+58
| | | | | | | | Suggested by mcuadros.
| * storage: some minor code cleanupJeremy Stribling2017-11-293-13/+5
| | | | | | | | | | | | Suggested by mcuadros. Issue: #669
| * plumbing: add `HasEncodedObject` method to StorerJeremy Stribling2017-11-293-0/+43
| | | | | | | | | | | | | | This allows the user to check whether an object exists, without reading all the object data from storage. Issue: KBFS-2445
| * Use object walker in repacking codeTaru Karttunen2017-11-291-12/+9
| |
| * Make prune object walker genericTaru Karttunen2017-11-292-91/+107
| |
| * Use Storer.Config pack window when repacking objectsTaru Karttunen2017-11-291-3/+5
| |
| * Make object repacking more configurableTaru Karttunen2017-11-296-15/+44
| |
| * Support for repacking objectsTaru Karttunen2017-11-296-13/+107
| |
| * Address CI and move code aroundTaru Karttunen2017-11-293-126/+149
| |
| * First pass of prune designTaru Karttunen2017-11-296-10/+236
| |
| * dotgit: use bufio for PackRefsJeremy Stribling2017-11-291-10/+8
| | | | | | | | | | | | Suggested by taruti. Issue: #13
| * dotgit: during rewriting, re-open packed-refs after lockingJeremy Stribling2017-11-291-9/+21
| | | | | | | | | | | | The file could have been completely replaced while waiting for the lock, so we need to re-open, otherwise we might be reading a stale file that has already been deleted/overwritten.
| * filesystem: todo comment about "all" paramJeremy Stribling2017-11-291-0/+4
| | | | | | | | Issue: KBFS-2517
| * dotgit: fix up PackRefs comment for upstreamingJeremy Stribling2017-11-291-26/+8
| |
| * filesystem: implement PackRefs()Jeremy Stribling2017-11-295-0/+205
| | | | | | | | | | | | | | | | | | | | Currently this implementation is only valid for kbfsgit, since it assumes some things about the filesystem not being updated during the packing, and about conflict resolution rules. In the future, it would be nice to replace this with a more general one, and move this kbfsgit-optimized implementation into kbfsgit. Issue: KBFS-2517
* | Merge pull request #668 from src-d/eiso-patch-1Máximo Cuadros2017-11-291-7/+6
|\ \ | |/ |/| Updating the outdated README example to the new one
| * Updating the outdated example to the new oneEiso Kant2017-11-291-7/+6
| |
* | Merge pull request #667 from ferhatelmas/simplifyMáximo Cuadros2017-11-2927-118/+56
|\ \ | | | | | | all: simplification
| * | all: simplificationferhat elmas2017-11-2927-118/+56
|/ / | | | | | | | | | | | | | | | | | | - no length for map initialization - don't check for boolean/error return - don't format string - use string method of bytes buffer instead of converting bytes to string - use `strings.Contains` instead of `strings.Index` - use `bytes.Equal` instead of `bytes.Compare`
* | Merge pull request #665 from keybase/strib/gh-fast-forward-fetchMáximo Cuadros2017-11-2910-22/+205
|\ \ | | | | | | remote: support for non-force, fast-forward-only fetches
| * | dotgit: add CheckAndSetReference testsJeremy Stribling2017-11-284-13/+50
| | |
| * | Merge remote-tracking branch 'src-d/master' into gh-fast-forward-fetchJeremy Stribling2017-11-282-6/+76
| |\ \ | |/ / |/| |
* | | Merge pull request #666 from keybase/strib/delete-from-packed-refJeremy Stribling2017-11-282-6/+76
|\ \ \ | | | | | | | | dotgit: handle refs that exist in both packed-refs and a loose ref file
| * | | dotgit: don't list references twiceJeremy Stribling2017-11-272-4/+20
| | | | | | | | | | | | | | | | Restore the `seen` map that avoided listing packed-refs twice.
| * | | dotgit: add a test for removing a ref from a file and packed-refsJeremy Stribling2017-11-271-0/+29
| | | |
| * | | dotgit: remove loose ref AND packed ref, if both existJeremy Stribling2017-11-271-3/+28
|/ / / | | | | | | | | | Issue: KBFS-2509
| * | remote: add test for non-force, fast-forward fetchingJeremy Stribling2017-11-271-0/+42
| | |
| * | Fetch - honor per refspec force flagTaru Karttunen2017-11-271-1/+1
| | |
| * | Document Lock+Close usageTaru Karttunen2017-11-271-0/+4
| | |
| * | Use optionally locking when updating refsTaru Karttunen2017-11-277-18/+87
| | |
| * | Support non-force fetchesNick Thomas2017-11-273-2/+33
|/ /
* | Merge pull request #664 from orirawlings/fixTruncatedDocMáximo Cuadros2017-11-271-1/+1
|\ \ | | | | | | plumbing/transport: Fix truncated comment in Endpoint
| * | plumbing/transport: Fix truncated comment in EndpointOri Rawlings2017-11-271-1/+1
|/ /
* | Merge pull request #661 from ferhatelmas/ineffassignMáximo Cuadros2017-11-278-2/+23
|\ \ | | | | | | all: fixes for ineffective assign
| * | all: fixes for ineffective assignferhat elmas2017-11-268-2/+23
|/ /
* | Merge pull request #659 from ferhatelmas/verify-commit-compat-docOri Rawlings2017-11-241-2/+2
|\ \ | | | | | | doc: Update compatibility for commit/tag verify
| * | doc: Update compatibility for commit/tag verifyferhat elmas2017-11-241-2/+2
| | | | | | | | | | | | For #653 and #658
* | | Merge pull request #658 from darkowlzz/tag_sign_and_verifyOri Rawlings2017-11-243-7/+172
|\ \ \ | |/ / |/| | plumbing: object/tag, add signature and verification support