Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: directory in which command executes #107

Open
dnebauer opened this issue Nov 25, 2018 · 0 comments
Open

Documentation: directory in which command executes #107

dnebauer opened this issue Nov 25, 2018 · 0 comments

Comments

@dnebauer
Copy link

This Git::Wrapper newbie spent time untangling two Git::Wrapper behaviours to understand why git->clone wasn't doing what he expected.
Number 2: I assumed from the outset that a git->clone command would execute in the directory specified in Git::Wrapper->new($dir). It wasn't until I ruled out all other possibilities that I finally questioned this assumption and realised the normal behaviour is for git->clone to execute in the cwd. The assumption I made may be peculiar to my psychology but, if it isn't, it may help other users of Git::Wrapper if the cpan/module documentation makes clear just what that initial directory is and, more importantly, is not used for, i.e., whether some/most/all commands actually execute in the cwd.
These teeting problems aside, thanks for a great module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant