Major Changes
-
#41
295d847Thanks @s0! - Makerepoargument required,
and remove therepositoryargument which was deprecated
and previously could be used in its place. -
#40
4117e39Thanks @s0! - Refactor & clean up options for multiple functions- For
commitFilesFromDirectory:- Rename
workingDirectorytocwdfor consistency across repos,
and utils likeexec - Make
cwda required argument
- Rename
- For
commitChangesFromRepo:- Merge
repoDirectoryandaddFromDirectoryinto a single required argument
cwd. This folder will now both be used to filter which files are added,
and to find the root of the repository. - Introduce
recursivelyFindRootoption (default:true),
to optionally search for the root of the repository,
by checking for existence of.gitdirectory in parent directories,
starting fromcwd.
- Merge
This effectively removes all usage of process.cwd() within the package,
instead requiring all usage to be very explicit with specifying paths. - For