Hey, that put me back in confusing number land.
No idea why all the work on my branch I can see on the GitHub
page isn't checked out into my version.
Sooo, I thought I'd do just a simple pull, and wham bam, back
to merge conflict.
~/cmdstan/stan(feature/issue-1057-generalize-indexing)$ git submodule update --init --recursive
Submodule path 'lib/stan_math': checked out '4cb436e76820535fb1ea3be3868212be6b28f6e2'
~/cmdstan/stan(feature/issue-1057-generalize-indexing)$ cd lib/stan_math/
~/cmdstan/stan/lib/stan_math((4cb436e...))$ cd ..
~/cmdstan/stan/lib(feature/issue-1057-generalize-indexing)$ cd ..
~/cmdstan/stan(feature/issue-1057-generalize-indexing)$ git pull
warning: Failed to merge submodule lib/stan_math (commits don't follow merge-base)
Auto-merging lib/stan_math
CONFLICT (submodule): Merge conflict in lib/stan_math
Automatic merge failed; fix conflicts and then commit the result.
~/cmdstan/stan(feature/issue-1057-generalize-indexing|MERGING)$
~/cmdstan/stan(feature/issue-1057-generalize-indexing|MERGING)$ git status
# On branch feature/issue-1057-generalize-indexing
# Your branch and 'origin/feature/issue-1057-generalize-indexing' have diverged,
# and have 19 and 44 different commits each, respectively.
# (use "git pull" to merge the remote branch into yours)
#
# You have unmerged paths.
# (fix conflicts and run "git commit")
#
# Changes to be committed:
#
# modified: src/docs/stan-reference/language.tex
# modified: src/docs/stan-reference/programming.tex
# modified: src/stan/lang/ast.hpp
# modified: src/stan/lang/ast_def.cpp
# modified: src/stan/lang/generator.hpp
# modified: src/stan/lang/grammars/expression_grammar.hpp
# modified: src/stan/lang/grammars/expression_grammar_def.hpp
# new file: src/stan/lang/grammars/indexes_grammar.hpp
# new file: src/stan/lang/grammars/indexes_grammar_def.hpp
# new file: src/stan/lang/grammars/indexes_grammar_inst.cpp
# modified: src/stan/lang/grammars/statement_grammar.hpp
# modified: src/stan/lang/grammars/statement_grammar_def.hpp
# modified: src/stan/lang/grammars/term_grammar.hpp
# modified: src/stan/lang/grammars/term_grammar_def.hpp
# modified: src/stan/lang/grammars/var_decls_grammar_def.hpp
# new file: src/stan/meta/matrix.hpp
# new file: src/stan/model/indexing.hpp
# new file: src/stan/model/indexing/deep_copy.hpp
# new file: src/stan/model/indexing/index.hpp
# new file: src/stan/model/indexing/index_list.hpp
# new file: src/stan/model/indexing/lvalue.hpp
# new file: src/stan/model/indexing/rvalue.hpp
# new file: src/stan/model/indexing/rvalue_at.hpp
# new file: src/stan/model/indexing/rvalue_index_size.hpp
# new file: src/stan/model/indexing/rvalue_return.hpp
# modified: src/stan/model/model_header.hpp
# modified: src/test/unit/lang/ast_test.cpp
# modified: src/test/unit/lang/generator_test.cpp
# new file: src/test/unit/meta/matrix/indexed_type_test.cpp
# new file: src/test/unit/meta/util.hpp
# new file: src/test/unit/model/indexing/deep_copy_test.cpp
# new file: src/test/unit/model/indexing/index_list_test.cpp
# new file: src/test/unit/model/indexing/index_test.cpp
# new file: src/test/unit/model/indexing/lvalue_test.cpp
# new file: src/test/unit/model/indexing/rvalue_return_test.cpp
# new file: src/test/unit/model/indexing/rvalue_test.cpp
#
# Unmerged paths:
# (use "git add <file>..." to mark resolution)
#
# both modified: lib/stan_math
#
So there's all my work sitting there like it's a new file. WTF? Now
I'm really too nervous to touch it.
There's still a whole lot about this whole process I'm not getting.
How'd that give me merge conflicts?
- Bob