Skip to content

Bug when cloning a repositery in android studio #5834

@AwesomePhoenix-0

Description

@AwesomePhoenix-0

Existing issues matching what you're seeing

  • I was not able to find an open or closed issue matching what I'm seeing

Git for Windows version

I don't know how to find that

Windows version

Windows 11

Windows CPU architecture

x86_64 (64-bit)

Additional Windows version information

Microsoft Windows [version 10.0.26100.4770]

Options set during installation

I don't know propably the default

Other interesting things

It downloaded everything and then the error appeared

Terminal/shell

Android studio

Commands that trigger the issue

I cloned a repository, and after downloading it it send me the message

Expected behaviour

That the repository would be clonned

Actual behaviour

It got me an error :
warning: failed to restrict file handles (5)

handle #0: 00000000000002ac (type 3, handle info (1) 0
handle #1: 00000000000002b4 (type 3, handle info (1) 1
handle #2: 0000000000001a40 (type 3, handle info (1) 1

This is a bug; please report it at
https://github.com/git-for-windows/git/issues/new

To suppress this warning, please set the environment variable

SUPPRESS_HANDLE_INHERITANCE_WARNING=1

C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: line 7: /usr/bin/basename: Permission denied
0 [sh] sh 805 dofork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\sh.exe', errno 13
/mingw64/libexec/git-core/git-sh-setup: fork: Permission denied
0 [sh] sh 809 dofork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\sh.exe', errno 13
C:/Program Files/Git/mingw64/libexec/git-core/git-sh-i18n: fork: Permission denied
/mingw64/libexec/git-core/git-sh-setup: line 292: /usr/bin/uname: Permission denied
/mingw64/libexec/git-core/git-sh-setup: line 339: /mingw64/libexec/git-core/git: Permission denied

Repository

https://github.com/AwesomePhoenix-0/Unciv

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