summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2013-08-12 15:13:03 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2013-09-13 15:13:12 +0200
commit02bd26e5a636fe2d9f128860530eda27ac35b334 (patch)
tree69dd6957af6cd91ef50e6aa38ec41501c5e8308a /LICENSE
parent4b8a848a477cc77caf8e74de6d28b3bcbcaed413 (diff)
downloadjgit-02bd26e5a636fe2d9f128860530eda27ac35b334.tar.gz
jgit-02bd26e5a636fe2d9f128860530eda27ac35b334.zip
ResetCommand: Allow reset on unborn branch when ref not specified
In C Git 1.8.2, "git reset" now also works on an unborn branch (no HEAD yet) if no explicit ref was specified. In that case, it is treated as a reset to an empty tree. This can be useful for callers because "unborn branch" no longer has to be special-cased to "git rm --cached". Bug: 414870 Change-Id: Ied750116f767518ae4d48823cf00752b049a8477 Signed-off-by: Robin Stocker <robin@nibor.org> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions