Revision history for Git-Repository
1.07 Sat Aug 14 16:52:21 CEST 2010
[ENHANCEMENTS]
- support for option hash in create(), which is attached to the
returned Git::Repository object
- accessors for Git::Repository::Command objects
(including a 'cmdline' accessor)
- removed the wc_subdir() attribute, which is useless and
redundant with the cwd option
- completely rewrote the repo_path and wc_path computation in new()
- support new (post-v1.7.1) clone output in create()
- less confusing names for options and attributes:
+ new() now takes git_dir and work_tree
(instead of repository and working_copy)
+ the corresponding attributes are now git_dir and work_tree
(instead of repo_path and wc_path)
+ the older options and attributes are being kept for compatibility
[TESTS]
- tests for the case when GIT_DIR is not .git (Mark Lawrence)
- protect git log tests against format.pretty (Aristotle Pagaltzis)
- tests for backward-compatibility with repository, working_copy, etc.
1.06 Sat Jul 3 22:02:59 CEST 2010
[ENHANCEMENTS]
- none
[TESTS]
- just make sure all tests fail gracefully when git is not installed
1.05 Sat Jul 3 00:40:09 CEST 2010
[ENHANCEMENTS]
- version() method returns the git binary version
- version_eq(), version_gt(), etc allow simple version comparison
for the current git binary
- allow providing a default option hash to Git::Repository->new()
[DOCUMENTATION]
- Document git init behaviour changed in 1.6.5
[TESTS]
- extensive version comparison tests
1.04 Sun Jun 27 17:24:02 CEST 2010
[ENHANCEMENTS]
- create() now supports "reinitializing existing Git repository"
(thanks to Michael G. Schwern)
[TESTS]
- test a few extra cases
1.03 Sat Jun 19 00:27:28 CEST 2010
[ENHANCEMENTS]
- fix module to work with Perl 5.6.x
- support GIT_DIR & GIT_WORK_TREE environment variables, when
run without a Git::Repository object, and even allow an
override when there is one, for those who know what they're
doing
[TESTS]
- fix the case where /tmp is a symlink to some other place
- fix abs_path dying on Win32 with a path to a non-existent file
1.02 Wed Jun 16 01:27:17 CEST 2010
[ENHANCEMENTS]
- sensible defaults for Git::Repository->new() without parameters
- correctly setup Git::Repository if working_copy points to a
subdirectory of the actual work tree
- wc_subdir() points to the given subdirectory
[TESTS]
- skip tests that fail if /tmp is a git repository
1.01 Mon Jun 14 08:17:38 CEST 2010
[ENHANCEMENTS]
- consider git failing with a usage message as a fatal error
[TESTS]
- don't bother testing too much if git is older than v1.6.0
1.00 Sat Jun 12 11:50:06 CEST 2010
[YET ANOTHER GIT WRAPPER]
- Git::Repository provides context and a simple run() method
- Git::Repository::Command is the actual workhorse
- 94% test coverage