Skip to content

Error When Attempting the Add command (Apparent bug) #2079

@logicbyjoel

Description

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

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?



git version 2.16.1.windows.4
cpu: x86_64
built from commit: ef6d451bbfef86a529ebf12620289e0f15a93d8e
sizeof-long: 4
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Windows 10
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

This is a school(public) machine
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Public environment.

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

MINGW64

I attempted to run an add command for a working Word document ```
 - What did you expect to occur after running these commands?

I am new to Git, and expected to add this document to a new repo.
 - What actually happened instead?

I encountered an error message and apparent bug.
 - If the problem was occurring with a specific repository, can you provide the
   URL to that repository to help us with testing?

It is local.

Message:
$ git /m/home/Desktop/SENG/
warning: failed to restrict file handles (2)

handle #0: 0000000000000408 (type 3, handle info (1) 7ffe
handle #1: 000000000000040c (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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions