[PATCH] git-mv is not able to handle big directories

From: Alexander Litvinov <lan@ac-sw.com>
Date: 2005-11-23 16:41:57
When moving directory with large number of files git-mv says:
> git-mv jsp* .
Can't exec "git-update-index": Argument list too long at /usr/local/bin/git-mv 
line 193.
git-update-index failed to add new names with code -1

This patch fixes this by building list of files with limited len (currently 
5000) and executing git-update-index few times until all files will be 
processed. I don't know how to determinate limit of command line but 5000 
seems safe enougth to me.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Nov 23 16:39:51 2005

This archive was generated by hypermail 2.1.8 : 2005-11-23 16:39:57 EST