Skip to content

Does not work with submodules..? #29

@shanewignall

Description

@shanewignall

I've tried committing a submodule with one small file in it with the file size hook enabled with the following configuration:

Include: .*
Size: 500000000

But I get an error like the following:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --set-upstream origin feature/windowsUI:feature/windowsUI
POST git-receive-pack (1029 bytes)
remote: Hook org.christiangalsterer.stash.filehooks.plugin.hook.FileSizeHook failed. Error:
remote: '/usr/bin/git cat-file --batch-check' exited with code 0 saying: error: unable to find df2451e48dda98c8a0fe4827ed7565ebe841643a
Pushing to http://username@mydomain.com/git/scm/fswg/fsw.git
To http://mydomain.com/git/scm/fswg/fsw.git
! [remote rejected] feature/windowsUI -> feature/windowsUI (pre-receive hook declined)
error: failed to push some refs to 'http://username@mydomain.com/git/scm/fswg/fsw.git'

Is this a known issue, or am I missing something?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions