GithubHelp home page GithubHelp logo

Comments (15)

samvasko avatar samvasko commented on May 14, 2024

:rage2: Oh man, why the hell...

from cmder.

samvasko avatar samvasko commented on May 14, 2024

relevant issue msysgit/msysgit#58

from cmder.

samvasko avatar samvasko commented on May 14, 2024

This looks like more complex than just removing

from cmder.

MartiUK avatar MartiUK commented on May 14, 2024

There are also some perl scripts in that folder that only work with the git.exe for example:

131209131935

Symlinks may work but will require UAC (This will be a pain for enterprise users), I suggest the batch file method.

I've got a local copy with most of them recreated as batchfiles and a setup script.

I'll send a pull request when it's done.

from cmder.

samvasko avatar samvasko commented on May 14, 2024

Integrating it into build/pack script it would be great!

from cmder.

MartiUK avatar MartiUK commented on May 14, 2024

@Bliker Will try my best, I'm more of a python guy myself.

from cmder.

samvasko avatar samvasko commented on May 14, 2024

I can port it if it is a trouble. The language bar is diverse already. :D

from cmder.

samvasko avatar samvasko commented on May 14, 2024

The script is not working very well. Not at all I should say.

from cmder.

MartiUK avatar MartiUK commented on May 14, 2024

@Bliker Yes, I was wondering why you merged it, I have some more commits to pull, but very busy.

from cmder.

samvasko avatar samvasko commented on May 14, 2024

Well I wanted to work on it myself and I just about finished it. Check the git-cleanup branch. I had to dig bit into git source and use checksums to find the duplicates.

from cmder.

MartiUK avatar MartiUK commented on May 14, 2024

Most of them (the duplicates) do not work for me anyway, especially the
perl scripts.
On 2 Jan 2014 23:59, "Samuel Vasko" [email protected] wrote:

Well I wanted to work on it myself and I just about finished it. Check the
git-cleanup branch. I had to dig bit into git source and use checksums to
find the duplicates.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31495836
.

from cmder.

SamHasler avatar SamHasler commented on May 14, 2024

Would it be possible to have a setup option to remove these files for users that never use the git-* format?

from cmder.

samvasko avatar samvasko commented on May 14, 2024

I think no. Some of the perl/sh scripts still use the dashed version.

from cmder.

cartel0x27 avatar cartel0x27 commented on May 14, 2024

Looks like this is still an issue. You could look into using links on Windows (mklink.exe) instead of 110 copies of a .exe file.

from cmder.

cartel0x27 avatar cartel0x27 commented on May 14, 2024

Fixed for me, when run from the libexec folder:

@echo off
dir /s git-*.exe | find "1,479,680" > fixexes.txt
for /F %%f IN ( fixexes.txt ) DO (
 @echo Processing %%f
 del %%f
 mklink  %%f git.exe
)
del fixexes.txt

I'd say this is to do with just zipping the files from msysgit. Zip files dont capture the fact that they were hard linked to begin with.

from cmder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.