Skip to content

Possible issue with Warden #12

@gbobts

Description

@gbobts

Hello,

  1. The documentation states :

Note: If using warden, commit still fails with SplFileInfo::openFile(/var/www/html/.git/COMMIT_EDITMSG): failed to open st ream: No such file or directory error: rename or revert to original git 'commit-msg' hook.

Can you confirm that the "commit-msg" hook (installed by GrumPHP) is "redundant", and that's what is meant by this statement ?

  1. The documentation also states :

(You can mount .git volume from host to inside container instead, but grumphp only requires empty .git folder, no much sense in syncronizing all .git/* files adding even more overhead for mutagen.)

Have you been trying the tasks git_blacklist and git_commit_message on your installation ? It seems that they both require the .git folder to be synchronized onto the docker container. Otherwise, they'll both fail :

Something went wrong: fatal: not a git repository (or any parent up to mount point /var/www) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Thanks for your feedback!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions