You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
worktree.AddWithOptions not staging deleted files #223
// AddOptions describes how a add operation should be performed
type AddOptions struct {
// All equivalent to `git add -A`, update the index not only where the
// working tree has a file matching `Path` but also where the index already
// has an entry. This adds, modifies, and removes index entries to match the
// working tree. If no `Path` nor `Glob` is given when `All` option is
// used, all files in the entire working tree are updated.
All bool
// Path is the exact filepath to a the file or directory to be added.
Path string
// Glob adds all paths, matching pattern, to the index. If pattern matches a
// directory path, all directory contents are added to the index recursively.
Glob string
}
Reacted by Lukas Arnold, Dmytro Kurets (DareDev), ajlake, cnfatal, Nijat Mahmudov, rousopoulosk, thacoon, Laszlo Fogas, Johan Lindell, Kilian Lieret and 2 more
Activity
DataHearth commentedon Jun 27, 2022
Is there any update on this issue ? We still encounter the problem with the latest version.
A workaround has been given here but I can't tell for now if it works.
boindil commentedon Jun 29, 2022
@DataHearth I'm not exactly sure, bis the linked workaround seems pretty similar to what I remember implementing as a workaround.
Worktree: Add, fix add removed files. Fixes go-git#223 (go-git#652)
Worktree: Add, fix add removed files. Fixes go-git#223 (go-git#652)