Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1128 from pjbgf/small-fixes | Paulo Gomes | 2024-08-09 | 1 | -2/+2 |
|\ | | | | | Fix some lint warning and increase stalebot to 180 days | ||||
| * | *: Small fixes to remove linter warnings | Paulo Gomes | 2024-06-29 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com> | ||||
| * | Revert "Add option approximating `git clean -x` flag." | Paulo Gomes | 2024-06-28 | 1 | -8/+8 |
| | | |||||
| * | Merge pull request #995 from msuozzo/git-clean | Paulo Gomes | 2024-06-28 | 1 | -8/+8 |
| |\ | | | | | | | Add option approximating `git clean -x` flag. | ||||
| | * | git: add option approximating git clean -x. | Matthew Suozzo | 2024-01-12 | 1 | -8/+8 |
| | | | |||||
* | | | plumbing: filemode, Remove check for setting size of .git/index file (#1159) | Nicholas openSUSE Software Engineer | 2024-08-06 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | * plumbing: filemode, Remove check for setting size of .git/index file on staging. Fixes #1003 Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> | ||||
* | | | git: worktree, Add StatusWithOptions | Paulo Gomes | 2024-08-03 | 1 | -37/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix for #119 improves the Worktree.Status() behaviour by preloading all existing files and setting their status to unmodified. Which makes it more reliable when doing per file status verification, however breaks backwards compatibility in two ways: - Increased execution time and space: the preloading can be slow in very large repositories and will increase memory usage when representing the state. - Behaviour: the previous behaviour returned a map with a small subset of entries. The new behaviour will include a new entry for every file within the repository. This commit introduces reverts the change in the default behaviour, and introduces StatusWithOptions so that users can opt-in the new option. Signed-off-by: Paulo Gomes <pjbgf@linux.com> | ||||
* | | | git: worktree, Build status based on the current index instead of building ↵ | Rodrigo Oliveira | 2024-02-05 | 1 | -1/+38 |
|/ / | | | | | | | it empty. Fixes #119 | ||||
* / | git: Worktree.AddWithOptions, add skipStatus option. #993 | Moran Cohen | 2024-01-17 | 1 | -10/+17 |
|/ | |||||
* | git: worktree, reset ignored files that are part of the worktree: Fixes #819 | Stephan | 2023-09-04 | 1 | -3/+6 |
| | |||||
* | squash: replace `if` with `||` | ThinkChaos | 2023-05-31 | 1 | -3/+1 |
| | |||||
* | worktree: minor speedup for doAddDirectory | ThinkChaos | 2023-05-30 | 1 | -18/+4 |
| | |||||
* | Worktree: Status, add check to see if file already checked in [Fixes 718] | John Pastore | 2023-05-01 | 1 | -1/+3 |
| | | | | Checks if an ignored file was previously checked in. If it was, then the file is not ignored matching native git behavior. | ||||
* | Worktree: Add, fix add removed files. Fixes #223 (#652)v5.5.2 | Taketoshi Fujiwara | 2023-01-05 | 1 | -16/+25 |
| | |||||
* | Worktree.AddWithOptions: improve documentation and interface | Máximo Cuadros | 2020-06-14 | 1 | -5/+24 |
| | |||||
* | feat: add file with using .gitignore, fixed src-d/go-git#1219 | jk2k | 2020-06-10 | 1 | -36/+65 |
| | |||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 1 | -11/+11 |
| | |||||
* | worktree: enable manual ignore patterns when no .gitignore is available | Fabian Sabau | 2019-03-04 | 1 | -1/+5 |
| | | | | Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com> | ||||
* | Worktree: Provide ability to add excludes (#825) | Alan D. Cabrera | 2018-05-11 | 1 | -0/+3 |
| | | | Worktree: Provide ability to add excludes | ||||
* | git: worktree, Skip special git directory. Fixes #814 | kuba-- | 2018-04-18 | 1 | -0/+4 |
| | | | | Signed-off-by: kuba-- <kuba@sourced.tech> | ||||
* | new methods Worktree.[AddGlob|RemoveBlob] and recursive Worktree.[Add|Remove] | Máximo Cuadros | 2018-02-26 | 1 | -63/+129 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | new methods Worktree.[AddGlob|AddDirectory] | Máximo Cuadros | 2018-02-01 | 1 | -34/+184 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | all: simplification | ferhat elmas | 2017-11-29 | 1 | -1/+1 |
| | | | | | | | | | | - 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 #617 from blacksails/patch-1 | Ori Rawlings | 2017-10-09 | 1 | -1/+1 |
|\ | | | | | Fix spelling | ||||
| * | Fix spelling | Benjamin Nørgaard | 2017-10-09 | 1 | -1/+1 |
| | | |||||
* | | Worktree.Add: Support Add deleted files, fixes #571 (#577) | grunenwflorian | 2017-09-05 | 1 | -0/+3 |
|/ | |||||
* | Worktree.Reset ignore untracked files on Merge mode | Máximo Cuadros | 2017-09-01 | 1 | -13/+29 |
| | |||||
* | worktree: expose underlying filesystem | Máximo Cuadros | 2017-07-26 | 1 | -10/+10 |
| | |||||
* | remote: fix Worktree.Status on empty repository | Máximo Cuadros | 2017-07-13 | 1 | -14/+19 |
| | |||||
* | Fixes gitignore ignored on checkout | Oleg Sklyar | 2017-06-20 | 1 | -3/+5 |
| | |||||
* | worktree: Add create and push the blob objects to the storer | Máximo Cuadros | 2017-06-19 | 1 | -19/+33 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | Merge pull request #436 from mcuadros/symlink | Máximo Cuadros | 2017-06-19 | 1 | -6/+27 |
|\ | | | | | worktree: symlink support | ||||
| * | worktree: support for symlinks | Máximo Cuadros | 2017-06-19 | 1 | -6/+27 |
| | | |||||
* | | Adds gitignore support | Oleg Sklyar | 2017-06-19 | 1 | -0/+32 |
|/ | |||||
* | worktree: Remove and Move methods | Máximo Cuadros | 2017-05-21 | 1 | -0/+65 |
| | |||||
* | Merge branch 'master' of github.com:src-d/go-git into commit | Máximo Cuadros | 2017-05-04 | 1 | -21/+15 |
|\ | |||||
| * | worktree: Add, logic improvements | Máximo Cuadros | 2017-05-04 | 1 | -21/+15 |
| | | |||||
* | | worktree: Commit method implementation | Máximo Cuadros | 2017-05-04 | 1 | -6/+21 |
| | | |||||
* | | worktree: Status return untracked for untracked files | Máximo Cuadros | 2017-05-04 | 1 | -6/+4 |
| | | |||||
* | | worktree: Status return empty status instead of nil | Máximo Cuadros | 2017-05-03 | 1 | -2/+6 |
|/ | |||||
* | *: applying new index.Index changes | Máximo Cuadros | 2017-04-26 | 1 | -14/+11 |
| | |||||
* | worktree: add method | Máximo Cuadros | 2017-04-26 | 1 | -4/+110 |
| | |||||
* | worktree: reset and checkout support for submodules | Máximo Cuadros | 2017-04-15 | 1 | -12/+42 |
| | |||||
* | worktree, reset implementation and status improvements | Máximo Cuadros | 2017-04-12 | 1 | -23/+21 |
| | |||||
* | worktree, status implementation based on merkletrie and reset and checkout ↵ | Máximo Cuadros | 2017-04-11 | 1 | -0/+133 |
implementations |