Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3.4
-
None
Description
When I do a release with 'git version 1.5.2.5' I get this exception:
error: pathspec '/home/alexis/ode.git/Buildfile' did not match any file(s) known to git.
Actually this version of Git does not accept the absolute path, the path must be relative to the repository top directory. With 'git version 1.5.6.3' (and above), this bug does not occur.
Considering that we already enforce the release to be run from the top directory and that all VCS accept relative paths (AFAIK), don't you think it would be worth committing the relative path to the buildfile?
The patch would be:
in core/build.rb, def commit_new_snapshot
File.basename(Buildr.application.buildfile.to_s.)
Attachments
Issue Links
- depends upon
-
BUILDR-222 Support Git as a version control system
- Closed