Release Notes
git hydrate status and git dehydrate judge a hydrated file by its content where git only suspects it. A file copied or linked into place, or hydrated on another machine, read as modified and could not be dehydrated, because git judges a file by its size before its content and the index still held the pointer's stat. Such a file is now hashed, and one that is its object is recorded in the index with its stat, so git reads it as clean from then on.
- A rerun of
git hydrate export narrowed by --only keeps the files an earlier run hydrated outside the globs instead of replacing them with pointers.
- The paths these verbs hand to git are literal, so a tracked path that contains glob characters names itself and nothing else.
Install git-hydrate 0.1.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/c9r/git-hydrate/releases/download/v0.1.3/git-hydrate-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/c9r/git-hydrate/releases/download/v0.1.3/git-hydrate-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install c9r/tap/git-hydrate
Download git-hydrate 0.1.3