Open GoogleCodeExporter opened 9 years ago
See attached file for "Depth" meaning. :)
Original comment by yuelinho...@gmail.com
on 12 Jun 2015 at 5:02
(Forgot to attach. sorry!)
Original comment by yuelinho...@gmail.com
on 12 Jun 2015 at 5:03
Attachments:
That was very quick response. Thanks for your reply. Now, I have unchecked the
Depth option and also.
1. Checked Recursive
2. Unchecked Recursive (tried both the scenarios)
In both the scenarios, I could able to see full log. However, it is cloning
whole repository and checking-out the branch which I specified in the field.
When I selected the option, Git Switch/Checkout inside the cloned branch... I
could able to see all other branches also which are present in the
repository... (which I do not want basically, I will be working only a
particular branch)
What I am looking for is, I should be able to clone only a single branch but
with full log ( at the same time, I do not want all other branches to be
available when checkout/switch option is selected)...
Many thanks for your answers and help.
Original comment by learning...@gmail.com
on 12 Jun 2015 at 5:23
Suppose we need to discuss...
@csware & @ch3cooli
User wants "--single-branch" option.
Ex: "git clone --branch BRANCH_NAME --single-branch URL"
cf. http://git-scm.com/docs/git-clone
Solution 1:
A fast fix!
Just append it to the tail of line 117 of CloneCommand.cpp
CString branchStr;
if (dlg.m_bBranch)
branchStr = _T(" --branch ") + dlg.m_strBranch + _T(" --single-branch ");
Solution 2:
Add one more checkbox "Single Branch" to Clone dialog.
Original comment by yuelinho...@gmail.com
on 12 Jun 2015 at 5:48
Original issue reported on code.google.com by
learning...@gmail.com
on 12 Jun 2015 at 4:50Attachments: