Subject: | [PATCH] Allow put_object to update other heads than just 'master' |
Date: | Wed, 01 Apr 2009 12:22:32 +0200 |
To: | bug-Git-PurePerl [...] rt.cpan.org |
From: | Martijn van Beers <MARTIJN [...] cpan.org> |
* Add an optional ref argument to put_object, so you can use it to commit to
a different head. If it is omitted, 'master' will be used.
* Generalize update_master to update_ref
* move 'master' tests in init.t before the testing of checkout, since
checkout uses the master ref.
---
lib/Git/PurePerl.pm | 22 ++++++++++++----------
t/init.t | 26 +++++++++++++-------------
2 files changed, 25 insertions(+), 23 deletions(-)
Message body is not shown because sender requested not to inline it.