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

fix(): skips initialization of git if directory is already under version control #802

Closed
wants to merge 1 commit into from
Closed

fix(): skips initialization of git if directory is already under version control #802

wants to merge 1 commit into from

Conversation

JohannesHoppe
Copy link
Contributor

avoids nested git repos, which are probably not what we wanted to have
see also: http://boxysystems.com/index.php/nested-git-repo-gotchas/

@@ -30,6 +30,23 @@ module.exports = Task.extend({

return exec('git --version')
.then(function () {

// "true" if cmd executes in a work tree
Copy link
Contributor

@hansl hansl May 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 3 comments are more confusing than helping. I suggest adding a single comment for the git command such as Check if we're inside a git repo.

@JohannesHoppe
Copy link
Contributor Author

Many thanks for the feedback!
Let me do a second try...

@hansl
Copy link
Contributor

hansl commented May 19, 2016

Looks good. I'll submit it when I have time to rebase or if you want to rebase quickly I'll merge. Thanks!

avoids a nested git repo, which is probably not what we wanted to have
@JohannesHoppe
Copy link
Contributor Author

Done. Squashed and rebased!

@hansl hansl closed this in 52c0cfb May 20, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants