Documentation
¶
Overview ¶
cmd package contains helper functions for various commands.
Index ¶
Constants ¶
View Source
const PatternDescription = `` /* 319-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetOrPanic ¶
GetOrPanic checks if err is nil, panics if not, otherwise return a
func NewFileSystem ¶
func NewFileSystem(dir string, cache cache.Object) *filesystem.Storage
NewFileSystem obtains the absolute path to the dir and creates a new filesystem.Storage
Types ¶
type FilterCmd ¶
type SetBranchCmd ¶
SetBranchCmd is for output the commit to a branch and potentially set it to head.
func (*SetBranchCmd) SetBrancHead ¶
func (c *SetBranchCmd) SetBrancHead(s storer.Storer, h plumbing.Hash)
SetBrancHead sets the has as the branch
func (*SetBranchCmd) SetBrancHeadFromHistory ¶
func (c *SetBranchCmd) SetBrancHeadFromHistory(s storer.Storer, newhist []*object.Commit)
Directories
¶
Path | Synopsis |
---|---|
dump-git-tree dumps the git tree and optionally apply pattern filters.
|
dump-git-tree dumps the git tree and optionally apply pattern filters. |
expand-git-commit adds back the changes made in a repo filtered by filter-git-hist to the unfiltered repo.
|
expand-git-commit adds back the changes made in a repo filtered by filter-git-hist to the unfiltered repo. |
filter-git-hist is a more robust but limited git-filter-branch.
|
filter-git-hist is a more robust but limited git-filter-branch. |
remove-git-gpg removes gpg information from series of commits.
|
remove-git-gpg removes gpg information from series of commits. |
Click to show internal directories.
Click to hide internal directories.