Windows 7 GIT COMMIT FAILS: "Rename from ./objects ... to ... failed"

1,039 views
Skip to first unread message

vol...@gmail.com

unread,
Jan 2, 2017, 5:17:14 AM1/2/17
to git-for-windows
I have created a bare repository "workspace.git" on my Local NetGear NightHawk Router R7000 ReadyShare.  This was done from a Windows 10 machine using TortoiseGit 2.3.0.0 and GIT 1.9.5.  I am able to clone and commit changes to the ReadyShare repository just fine on the Windows 10 machine.  The ReadyShare is not password protected (it is not set for read or write password protection).

I am also using TortoiseGit 2.3.0.0 and GIT 2.10.2 on a Windows 7 machine.  I was able to clone the repository, but I am NOT able to commit changes.  TortoiseGit pops up an error message (see attached) saying it can not rename a file within the objects directory.  I suspect this is the repository objects directory, not the clone objects directory, since the file has was renamed in the clone but not the repository.

I did try GIT 2.11.0 on the Windows 7 machine, but the commit fails for similar reasons.  It is as if my Windows 7 machine does not have permissions to rename files on the repository, but the Windows 10 works fine.

Any suggestions would be helpful, since I do development from home on more than one machine, and I am having to use sneaker net for now.

Rich
GIT_ERROR.PNG

Johannes Schindelin

unread,
Jan 2, 2017, 6:03:56 AM1/2/17
to vol...@gmail.com, git-for-windows
Hi,

On Tue, 27 Dec 2016, vol...@gmail.com wrote:

> I am also using TortoiseGit 2.3.0.0 and GIT 2.10.2 on a Windows 7 machine.
> I was able to clone the repository, but I am NOT able to commit changes.
> TortoiseGit pops up an error message (see attached) saying it can not
> rename a file within the *objects *directory. I suspect this is the
> repository objects directory, not the clone objects directory, since the
> file has was renamed in the clone but not the repository.

Can you verify the following:

- that the file .git\objects\0c\tmp_obj_kDaJva exists in the worktree on
your Windows 7 machine, and that

- .git\objects\0c\c81711209582b84909ddb79fea12ad8eaf4cf6 does *not* exist?

Ciao,
Johannes
Reply all
Reply to author
Forward
0 new messages