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

Issue a warning when a git external points to a branch #99

Open
billsacks opened this issue May 1, 2018 · 0 comments
Open

Issue a warning when a git external points to a branch #99

billsacks opened this issue May 1, 2018 · 0 comments

Comments

@billsacks
Copy link
Member

When a git external points to a branch, manage_externals can say that you're in sync when really there have been changes on the remote that you haven't fetched yet (because we have decided that manage_externals should not do a fetch when you're asking for the status).

We should have manage_externals output a warning message when you ask for status and a git external points to a branch. For example, we could have some text at the bottom of the status output like:

************************************************************************
WARNING: The following git externals point to branches:
    XXXXXX

To ensure that you are getting an accurate status report, make sure you
have fetched any updates made on the remote, by going into the
appropriate external directories and issuing a 'git fetch'.
************************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant