On Mon, 17 Jun 2013 13:28:30 +0000
> For Below issue , O/S is Windows7.
> 1.Iam getting error attached when cloning of repository is done:
> 2.Also, when file is tried to be added,it gives error below:
> $ git add *
> fatal: unable to stat
> on/visitor/data/VisitorRepositoryJpaImpl.java': Filename too long
This is a limitation of Git for Windows: the standard Windows API which
works with unmangled filenames limits their length to 260 characters
while your particular entry is 262 characters long.
AFAIK, there's no clean/easy way to make use of "extended" Windows API
which requires mangling filenames by adding the "\\?\" to them.
You could read  for more details.
So it seems you have two options for now:
* Restructure the project.
* Use Git under Cygwin  which might not have this limitation
(personally, I do not know whether it does).
Please next time you ask consider doing two things:
* If you post your message to several groups, take care to mention this
fact in each of them.
* Do not require anyone to do anything "ASAP" unless this claim is
backed by your or your employer's wallet.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html