Skip to content

Windows Sever 2008 R2 graceful handing of pre-receive hooks #1927

Closed
@JayD123

Description

@JayD123

Git version - git version 2.11.1.windows.1
OS - Windows Server 2008 R2 machine.

pre-receive hooks does not work. Throws the following exception

Counting objects: 2, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 257 bytes | 0 bytes/s, done.
Total 2 (delta 0), reused 0 (delta 0)
remote:       0 [main] sh 5764 D:\git\installation\Git\usr\bin\sh.exe: *** fatal error - add_item ("\??\D:\git\installation\Git", "/", ...) failed, errno 1
remote: Stack trace:
remote: Frame        Function    Args
remote: 000FFFF9BB0  0018005CCCE (00180241542, 0018021EC39, 000FFFF9BB0, 000FFFF8B30)
remote: 000FFFF9BB0  00180046419 (000FFFFABE6, 000FFFF9BB0, 1D4755E137B33C4, 00000000000)
remote: 000FFFF9BB0  00180046452 (000FFFF9BB0, 00000000001, 000FFFF9BB0, 675C3A445C3F3F5C)
remote: 000FFFF9BB0  001800CB8AB (00000000000, 000FFFFCE00, 001800BB2D8, 1D4755E1C6C0544)
remote: 000FFFFCC00  001801195B5 (00000000000, 00000000000, 001800B39DE, 00000000000)
remote: 000FFFFCCC0  00180046A45 (00000000000, 00000000000, 00000000000, 00000000000)
remote: 00000000000  001800456B3 (00000000000, 00000000000, 00000000000, 00000000000)
remote: 000FFFFFFF0  00180045764 (00000000000, 00000000000, 00000000000, 00000000000)
remote: End of stack trace
remote: warning: updating the current branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions