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

git reflow with git submodules #147

Open
mishagray opened this issue Jan 8, 2016 · 3 comments
Open

git reflow with git submodules #147

mishagray opened this issue Jan 8, 2016 · 3 comments

Comments

@mishagray
Copy link

So I seem to have a problem using git reflow inside of a git submodule.

What I want to be able to do, is simultaneously work on an App and a Framework library (which is setup as a gitsubmodule of the app) at the same time.

In general the Framework has to be tested using the app anyways. So we wouldn't develop 'outside' of the submodule.

Steps

  • have any repo that has a submodule. (ex: App)
  • cd into the submodule (assume it is currently pointing to master). (ex Lib)
  • run 'git reflow start mg_my_new_feature'
  • edit some stuff and commit.
  • run 'git reflow review`

Get this error:
error: Not a directory - /repos/App/Lib/.git/GIT_REFLOW_PR_MSG

@codenamev codenamev added this to the git reflow config milestone Mar 11, 2016
@codenamev
Copy link
Collaborator

@codenamev
Copy link
Collaborator

@mishagray About to tackle this. Since I don't personally have a use-case, can you clarify expectations? You would like git-reflow to target the sub-module when run inside the sub-module working tree?

@codenamev
Copy link
Collaborator

Future self: How to know if in submodule

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

2 participants