summaryrefslogtreecommitdiff
path: root/git-fat
Commit message (Collapse)AuthorAgeFilesLines
* pull: fix --all to avoid limiting by patterns in current treejed/pull-allJed Brown2014-03-121-0/+2
| | | | | | | | | | | | 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>
* filter_objects: remove printing that doesn't belong in internal functionsJed Brown2014-03-121-2/+0
|
* filter_objects: files is already a setJed Brown2014-03-121-2/+1
|
* Supporting multiple space separated rsync optionsAndrew Otto2014-03-071-1/+1
|
* Adding support for extra rsync options via rsync.optionsAndrew Otto2014-03-071-2/+5
|
* fix handling of broken symlinksChristian Hitz2013-08-291-1/+4
| | | | | if a symlink has a length of self.magiclen git-fat would crash because it could not read the file
* Merge branch 'symlinks-in-index-filter' of github:chhitz/git-fat (PR #15)Jed Brown2013-08-201-0/+3
|\ | | | | | | | | * 'symlinks-in-index-filter' of github:chhitz/git-fat: ignore symbolic links during index-filter
| * ignore symbolic links during index-filterChristian Hitz2013-08-201-0/+3
| | | | | | | | | | symbolic links should not be handled by git-fat even if their name match the filelist
* | Emacs mode:pythonJed Brown2013-08-201-0/+1
| |
* | make compatible with python2.6Christian Hitz2013-08-201-0/+25
|/ | | | patch from https://gist.github.com/edufelipe/1027906
* Set permissions for object store using current umaskJed Brown2013-07-261-0/+8
| | | | | | | | | | tempfile.mkstemp() creates a file with mode 0600 by default, which after pushing, prevents others from accessing the shared object store. Instead, use 0444 (as with git-native objects) and respect umask so that pushed objects will be readable with default configuration. Noticed-by: Ashok Argent-Katwala <ashok@freshbooks.com> Comments-by: Owen Jacobson <owen.jacobson@grimoire.ca>
* Merge branch 'pull-with-unicode-filenames' of ↵Jed Brown2013-04-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/michaelcontento/git-fat (PR #12) This does not resolve all unicode file name issues. We have at least these issues: 1. Filenames sometimes become command-line arguments, which we'd rather avoid because it forces us to decode/encode (on Windows). This can be fixed by systematically using '--stdin' options. 2. We still use 'git ls-files -s' in cmd_index_filter. It should also learn to use the -z option, but unfortunately, Python doesn't have convenient line processing for NUL-delimited streams so we have to write something like difftreez_reader to do that properly. * 'pull-with-unicode-filenames' of https://github.com/michaelcontento/git-fat: fix "git fat pull" for fancy named files [Normalized quoting style in merge.]
| * fix "git fat pull" for fancy named filesMichael Contento2013-04-281-1/+1
|/ | | | | | just add "-z" to "git ls-files" and split the string at the null byte instead of newline. now we get the original name back from git and the os module should handle the communication with the filesystem (but I haven't checked this!).
* Added support for pulling only a subset of files.Tomas Herman2013-04-251-3/+24
|
* Fixed issue with decoding symlinksTomas Herman2013-04-041-1/+1
|
* Fix broken rsync pull, bug introduced in 309f63097aJed Brown2013-02-181-1/+6
|
* Add 'git fat index-filter .. --manage-gitattributes'Jed Brown2013-02-141-0/+12
| | | | | This writes a .gitattributes file for every commit in the history, appending rules for all the now-managed fat files.
* fix the pull case when using rsync with ssh optionsArnaud Gelas2013-01-291-14/+19
|
* Repair pipe handling in 6f1f0d65ba38, handle missing case, and de-duplicateJed Brown2013-01-281-10/+10
|
* add options rsync.sshuser and rsync.sshportArnaud Gelas2013-01-281-6/+17
|
* fat find: positively identify blobs, simplifying filterJed Brown2013-01-211-11/+13
| | | | | git rev-list --objects has a second field for objects other than blobs (like trees), so they cannot be filtered out a priori.
* find and filter-index: experimental features for retroactive cleanupJed Brown2013-01-211-1/+112
|
* Naming consistency, factor filter_clean to be callable from PythonJed Brown2013-01-211-13/+16
|
* filter-clean: fix for zero-length files causing early StopIterationJed Brown2013-01-201-9/+7
|
* Find git-dir so that git-fat can run within a git filter-branch or aJed Brown2013-01-201-1/+2
| | | | bare repository.
* Skip files matching magiclen that fail to decode (they are not managed by us)Jed Brown2012-12-241-2/+5
|
* Fix deadlock when filtering large rev-list, reported by Jozsef BakoskiJed Brown2012-12-241-3/+11
| | | | | | | subprocess.communicate() cannot be used with large files because it is a fully-synchronous interface. Since there is no stream/generator/coroutine support in subprocess.communicate, we have to roll the line iterator ourselves, putting the filter in its own thread.
* Rsync needs trailing slash when pushing one file to a directory that does ↵Jed Brown2012-12-241-2/+2
| | | | not yet exist
* Upgrade format to include file sizeJed Brown2012-11-281-19/+50
| | | | | | | | | | | | | | The new code can still smudge from the old format, but the clean filter will always produce the new format, causing Git to complain. This means that as soon as you check out an old version, git will think there are local modifications. There is a backdoor, however. If you set GIT_FAT_VERSION=1 while interacting with checkouts of old versions, the old behavior will be recovered. Just don't forget to unset it when moving back to the latest version. To checkout across versions, use --force. You can upgrade the repository (without changing the fat object store) by committing the new cleaned objects.
* Improved use of git-config in git init and reading .gitfatJed Brown2012-11-261-14/+26
| | | | | | | | git fat init now checks whether the filter.fat section is already defined. Manage .gitfat using git-config instead of Python ConfigParser, which has different syntax support.
* git fat push: default to only push objects reachable from the current HEAD, ↵Jed Brown2012-11-261-5/+6
| | | | use --all to get all branches
* Comment explaining how 'git fat checkout' forces resmudgingJed Brown2012-11-261-0/+7
|
* Better diagnostic when smudging a file that is missing in object storeJed Brown2012-11-261-2/+3
|
* Cleaner way to checkout files after pullJed Brown2012-11-261-5/+11
|
* Extend worked example and make several refinementsJed Brown2012-11-251-34/+82
| | | | | | | * Verbosity control * Automatically update working tree * Identify orphan files in filter-clean and pass through so they don't show up as suprious diffs.
* initial importJed Brown2012-11-251-0/+212