| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Invalidate git index cache before smudging
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Occasionally we hit the problem where a git smudge filter is not
triggered -- for instance, when a file in a working tree's lstat info
matches the file in the git index cache. (see racy-git.txt in the git
documentation)
The previous work-around was touching the git-fat file; however, in
cases where git fat checkout is automated there is a chance that
touching the file will make no modification to the lstat information
(when a touch happens in the same second as a git checkout). In those
instances, git will not trigger the smudge filter and the file in the
checkout will remain orphaned.
We can work around this by ensuring that the timestamp on a file is
modified by looking at its previous timestamp and adding 1 to it.
|
| |
|
| |
|
|
|
|
| |
Reported-by: Isuru Fernando
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Users unfamiliar with gitattributes(5) may not know where to put
.gitattributes.
* 'patch-1' of github:HalfVoxel/git-fat:
Update README.md
Suggested-by: pengyu on github (closes #59)
|
|/
|
| |
Clarify where the .gitattributes file goes
|
|
|
|
|
|
|
|
|
| |
Python-3 requires careful handling of unicode to avoid breaking Git
semantics (which manages strings unencoded) or Python (which insists on
processing encoded strings on Windows). This is not done yet, so error
cleanly for now. See discussion in issue #42.
Suggested-by: Christoph Buchner
|
|
|
|
|
| |
Closes #47
Suggested-by: Aleksander Nitecki
|
|
|
|
| |
Reported-by: "Slavko"
|
|\
| |
| |
| |
| |
| |
| | |
github:jmurty/git-fat (PR #37)
* 'improve_referenced_objects_performance' of github:jmurty/git-fat:
Avoid potential infinite loop if unexpected EOF received from cat-file
|
| |\
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* jmurty/improve-referenced-objects-performance:
referenced_objects: make comment more precise
More sophisticated use of cat-file bulk revision processing in two stages
Improve performance when looking up referenced objects.
|
| | | |
|
| | |\
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 'osx_test_compat_fixes' of github:jmurty/git-fat:
Use custom fullpath() fn to avoid confusion with realpath vs alternative
Replace heavyweight use of python with a simple 'pwd' call
Make test-restrospective.sh test script compatible with OSX
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Define and use simple `pwd`-based fullpath() function
* Remove misleading comment
Confirmed to work on OSX.
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 'add_verify_command' of github:jmurty/git-fat:
Add `verify` command to check git-fat object data matches hash filename.
Conflicts:
git-fat
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While experimenting with using the --partial option with rsync I
managed to corrupt one of my git-fat objects by truncating it. This
caused some behaviour in git-fat which seemed odd until I worked out
what had happened: it would check out the truncated data but git would
see the file as modified and show the changed hash in a diff, while a
re-checkout did not reset the file to its original data/hash.
This commit adds a `verify` command that cross-checks git-fat object
file names (the original SHA1) against the SHA1 of the object's
actual data and prints any mismatches. So you can quickly find any
dubious objects and decide what to do about them.
A better solution might be to calcuate and verify objects' data hash
during filter-smudge/checkout though this would likely hurt performance.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
* jmurty/ensure-init-before-pull:
Print fatal error message to stderr
Moved requirement for init to `checkout` operation.
Fail with a clear error if 'git fat pull' is run on uninitialised repo.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since `checkout` op is where the repo really needs to be init'ed for git-fat
I moved the requirement to there. This way it is still triggered by a `pull`
op, but only at the end after any files have been synced.
|
|/ / /
| | |
| | |
| | | |
This fixes issue #25 in the original project.
|
| |/
| |
| |
| |
| |
| | |
Use read() method more defensively to avoid any chance of an infinite
loop in the (very unlikely) event an EOF is received mid-way through
some `cat-file` data.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change takes better advantage of the relative strengths of
`cat-file --batch-check` and `cat-file --batch` and combines them.
* Uses `cat-file --batch-check` to filter the set of all git objects in
bulk, leaving only those that are candidate git-fat object references,
based on the object being of type "blob" and of magic size(s)
* Uses `cat-file --batch` to read the full contents of all the candidate
objects in bulk, for fast processing of their data to find the actual
git-fat references.
|
|/
|
|
|
|
|
|
|
| |
Avoid a cat-file subprocess call per fat object blob by doing slightly
uglier parsing of "cat-file --batch" that includes object content,
instead of "cat-file --batch-check" that doesn't.
In my ad-hoc testing on a reasonable size repository
(50k rev-list -objects) this speeds up 'git fat status' by almost 40%.
|
|\
| |
| |
| |
| |
| |
| | |
(PR #30)
* 'fix-OSError-on-removed-tracked-file' of github:cspurk/git-fat:
fix OSError on “git fat pull” with manually removed, tracked files in WC
|
| |
| |
| |
| | |
If there is any manually removed, tracked file in the working copy, then
running “git fat pull” fails with an OSError without this fix.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Support patterns like "git fat push && git push"
* 'master' of github:nkovacs/git-fat:
return rsync's exit codes if non-zero in pull and push
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Add ability to locally specify variables like rsync.sshuser
* 'master' of https://github.com/ChrisMarinos/git-fat:
allow fat settings to come from global git configuration
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Closes #21
* 'master' of https://github.com/c00kiemon5ter/git-fat:
Explain rsync with ssh authentication
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #23
* jed/pull-all:
pull: fix --all to avoid limiting by patterns in current tree
filter_objects: remove printing that doesn't belong in internal functions
filter_objects: files is already a set
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Regression introduced in:
commit c23422388b975f13867457c86c78361dfdf8036e
Author: Tomas Herman <tomas.herman@wikidi.com>
Date: Tue Apr 23 11:59:38 2013 +0200
Added support for pulling only a subset of files.
Reported-by: Nikola Kovacs <nikola.kovacs@gmail.com>
|
| | | |
|
|/ / |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
Support idiosyncratic workflows such as a custom server-side using
symlinks to an existing layout, where rsync pull needs --copy-links.
* 'master' of https://github.com/wikimedia/git-fat:
Supporting multiple space separated rsync options
Adding support for extra rsync options via rsync.options
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
* 'patch-1' of github:mspacek/git-fat:
Fix README.md typos
|
|/ |
|
|\
| |
| |
| |
| | |
* 'skip-broken-symlinks' of github:chhitz/git-fat:
fix handling of broken symlinks
|
|/
|
|
|
| |
if a symlink has a length of self.magiclen git-fat would crash
because it could not read the file
|
|\
| |
| |
| |
| | |
* 'symlinks-in-index-filter' of github:chhitz/git-fat:
ignore symbolic links during index-filter
|
| |
| |
| |
| |
| | |
symbolic links should not be handled by git-fat even if
their name match the filelist
|