36 Commits

Author SHA1 Message Date
Stephan
753b0d5cef git: worktree, reset ignored files that are part of the worktree: Fixes #819 2023-09-04 08:13:33 +02:00
ThinkChaos
3f7913e4c8 squash: replace if with || 2023-05-31 11:13:35 -04:00
ThinkChaos
cb287f782a worktree: minor speedup for doAddDirectory 2023-05-30 12:21:19 -04:00
John Pastore
cf51e2febf Worktree: Status, add check to see if file already checked in [Fixes 718]
Checks if an ignored file was previously checked in.  If it was, then the file is not ignored matching native git behavior.
2023-05-01 20:02:58 -04:00
Taketoshi Fujiwara
5dabd83e37 Worktree: Add, fix add removed files. Fixes #223 (#652) 2023-01-05 10:35:52 +01:00
Máximo Cuadros
ae693a97b7 Worktree.AddWithOptions: improve documentation and interface 2020-06-14 01:42:12 +02:00
jk2k
e4a55327a2 feat: add file with using .gitignore, fixed src-d/go-git#1219 2020-06-10 20:26:51 +08:00
Máximo Cuadros
2bdfd91f04 *: migration from gopkg to go modules 2020-03-10 00:40:56 +01:00
Fabian Sabau
bf0d56e7f2 worktree: enable manual ignore patterns when no .gitignore is available
Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com>
2019-03-04 11:50:35 +01:00
Alan D. Cabrera
e63b032e91 Worktree: Provide ability to add excludes (#825)
Worktree: Provide ability to add excludes
2018-05-11 06:47:25 +02:00
kuba--
6b33126e79 git: worktree, Skip special git directory. Fixes #814
Signed-off-by: kuba-- <kuba@sourced.tech>
2018-04-18 15:25:28 +02:00
Máximo Cuadros
6d23b50e27 new methods Worktree.[AddGlob|RemoveBlob] and recursive Worktree.[Add|Remove]
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2018-02-26 00:26:41 +01:00
Máximo Cuadros
66f08b8360 new methods Worktree.[AddGlob|AddDirectory]
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2018-02-01 17:10:42 +01:00
ferhat elmas
18e6f9daa3 all: simplification
- 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`
2017-11-29 13:01:32 +01:00
Ori Rawlings
e4ce8aacbc Merge pull request #617 from blacksails/patch-1
Fix spelling
2017-10-09 06:39:04 -05:00
Benjamin Nørgaard
6bb28e4f35 Fix spelling 2017-10-09 10:22:41 +02:00
grunenwflorian
a33a60d244 Worktree.Add: Support Add deleted files, fixes #571 (#577) 2017-09-05 11:28:36 +02:00
Máximo Cuadros
f1e58e0d30 Worktree.Reset ignore untracked files on Merge mode 2017-09-01 17:26:52 +02:00
Máximo Cuadros
ab590eb898 worktree: expose underlying filesystem 2017-07-26 21:46:49 +02:00
Máximo Cuadros
aa74b3ab06 remote: fix Worktree.Status on empty repository 2017-07-13 17:28:00 +02:00
Oleg Sklyar
dcdd9a7017 Fixes gitignore ignored on checkout 2017-06-20 17:18:59 +02:00
Máximo Cuadros
85a9126657 worktree: Add create and push the blob objects to the storer
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2017-06-19 15:03:30 +02:00
Máximo Cuadros
8b17cf0598 Merge pull request #436 from mcuadros/symlink
worktree: symlink support
2017-06-19 12:24:28 +02:00
Máximo Cuadros
ada10c2978 worktree: support for symlinks 2017-06-19 10:36:37 +02:00
Oleg Sklyar
2f4ac21bad Adds gitignore support 2017-06-19 00:26:14 +02:00
Máximo Cuadros
52add52ea3 worktree: Remove and Move methods 2017-05-21 12:54:29 +02:00
Máximo Cuadros
b8b61e7446 Merge branch 'master' of github.com:src-d/go-git into commit 2017-05-04 10:17:15 +02:00
Máximo Cuadros
d95e4a5b1d worktree: Add, logic improvements 2017-05-04 02:04:22 +02:00
Máximo Cuadros
40fa5882a2 worktree: Commit method implementation 2017-05-04 01:45:28 +02:00
Máximo Cuadros
5592dabdf9 worktree: Status return untracked for untracked files 2017-05-04 00:09:55 +02:00
Máximo Cuadros
2e092f909f worktree: Status return empty status instead of nil 2017-05-03 23:37:21 +02:00
Máximo Cuadros
75c5adffb8 *: applying new index.Index changes 2017-04-26 20:55:00 +02:00
Máximo Cuadros
9e8f1cfde0 worktree: add method 2017-04-26 16:25:29 +02:00
Máximo Cuadros
4b0fc1eb69 worktree: reset and checkout support for submodules 2017-04-15 23:13:45 +02:00
Máximo Cuadros
63f234847b worktree, reset implementation and status improvements 2017-04-12 03:46:28 +02:00
Máximo Cuadros
116fed7ea7 worktree, status implementation based on merkletrie and reset and checkout implementations 2017-04-11 04:41:16 +02:00