You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am from Brown and during this summer, I'm studying Java with this excellent course. Recently I'm doing project 2 Gitlet. The description of merge command says
If the split point is the current branch, then the effect is to check out the given branch.
However, it would be better if the difference between merge with a fast-forward current branch and checkout is further clarified. When merging in this condition,
the current branch is still the previous branch, and
the branch head will points at the other branch.
For example, if we are at branch master and HEAD points to commit c1. Branch other points to commit c2.
*master other
*------------*------------*------------*
c1 c2
After merge other, the status is expected to be
*master
other
*------------*------------*------------*
c1 c2
However, if we only checkout other, then the status is
Hi CS61B Contributors,
I am from Brown and during this summer, I'm studying Java with this excellent course. Recently I'm doing project 2 Gitlet. The description of merge command says
However, it would be better if the difference between
merge
with a fast-forward current branch andcheckout
is further clarified. When merging in this condition,For example, if we are at branch
master
andHEAD
points to commitc1
. Branchother
points to commitc2
.After
merge other
, the status is expected to beHowever, if we only
checkout other
, then the status isI'm not sure about the details about your autograder, but I believe it's better to add more clarification in the spec.
Thanks a lot.
The text was updated successfully, but these errors were encountered: