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
which is useful for figuring out what to slice, and indeed to copy only those files and create a folder containing just the sliced repo during git slice operations.
However, we need filesToIgnore: string[] as well. This should return the list of files in the given repo that should be ignored and not sliced.
This will be useful for the following use cases:
git-slice-tools implements pull operations by identifying that list by itself, and then deleting those files. Without filesToIgnore in the output, using the library is harder for git slice tools.
a future gitslice pull command in the CLI could implement the git-slice-tools method of a pull operation, where it identifies the filesToIgnore and deletes them
In push operations, git-slice-hooks needs this list for a check. In this check, it ensures that none of the ignore files get accidentally modified in any way, by running git reset on them. If it only has access to filesToSlice this is much harder
The text was updated successfully, but these errors were encountered:
Currently the output is just
which is useful for figuring out what to slice, and indeed to copy only those files and create a folder containing just the sliced repo during git slice operations.
However, we need
filesToIgnore: string[]
as well. This should return the list of files in the given repo that should be ignored and not sliced.This will be useful for the following use cases:
filesToIgnore
in the output, using the library is harder for git slice tools.git reset
on them. If it only has access tofilesToSlice
this is much harderThe text was updated successfully, but these errors were encountered: