buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <>
Subject [jira] Closed: (BUILDR-227) Commit relative path instead of absolute path
Date Wed, 18 Feb 2009 17:50:01 GMT


Alexis Midon closed BUILDR-227.

    Resolution: Duplicate

see BUILDR-222

> Commit relative path instead of absolute path
> ---------------------------------------------
>                 Key: BUILDR-227
>                 URL:
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.3.4
>            Reporter: Alexis Midon
>             Fix For: 1.3.4
> When I do a release with 'git version' 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' (and above), this bug does not
> 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.)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message