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
// GitPatch returns a patch from a git repository,
338
-
// if no git repository was found and no errors occurred, nil is returned, else an error is returned revisionFrom and revisionTo defines the git diff parameters,
339
-
// if left blank and there are unstaged changes or untracked files, only those will be returned else only check changes since HEAD~.
340
-
// If revisionFrom is set but revisionTo is not, untracked files will be included, to exclude untracked files set revisionTo to HEAD~.
337
+
// GitPatch returns a patch from a git repository.
338
+
// If no git repository was found and no errors occurred, nil is returned,
339
+
// else an error is returned revisionFrom and revisionTo defines the git diff parameters,
340
+
// if left blank and there are unstaged changes or untracked files,
341
+
// only those will be returned else only check changes since HEAD~.
342
+
// If revisionFrom is set but revisionTo is not,
343
+
// untracked files will be included, to exclude untracked files set revisionTo to HEAD~.
341
344
// It's incorrect to specify revisionTo without a revisionFrom.
0 commit comments