| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
by writing their ref file directly
|
| |
|
|
| |
Added RemoteReference deletion and test
|
| | |
|
| |
|
|
| |
marked, implementation is needed for most of them
|
| | |
|
| |
|
|
| |
TODO list
|
| |
|
|
| |
files, not on streams, as Indices are not streamed by any git command ( at least not in raw format )
|
| |
|
|
|
|
| |
controlled, including test.
Added commit method which will return the commit for detached symbolic refs or for normal symbolic refs which is quite convenient
|
| | |
|
| |
|
|
|
|
|
|
| |
types of references and allow special handling
Head.reset now is an instance method of HEAD type
Concatenated all reference specific tests into test_refs
started to fix tests breaking now because of changed interface
|
| |
|
|
|
|
|
| |
other items as well as the working tree
Diff.Diffable: added callback allowing superclasses to preprocess diff arguments
Diff.Diff: added eq, ne and hash methods, string methods would be nice
|
| |
|
|
| |
fashion comparable to the native implementation
|
| | |
|
| |
|
|
|
| |
GitConfigFile is now derived from LockFile using its capabilities
Implemented ConcurrentWriteOperation, test is yet to be done
|
| |
|
|
| |
given. It will lazily read its data on first access
|
| |
|
|
| |
nature of the command. Yet I don't really like the way you have to call it as repo has to be ṕassed as first arg
|
| |
|
|
| |
wrong thing by _not_ stripping the final newline at the end of all git commands we use. This is the default now which cannot be changed - perhaps its wrong to remove it, but in way you'd always want the final newline stripped unless you get data directly, but there are better ways to do that ( blob.data, blob.data_stream, blob.stream_data )
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* index:
Removed index test marker for custom commits as this boils down to a good way to add files to the index/remove them and make commits which are possibly customized with custom parents
index writing now creates a sha on the content making it possible to write valid indices after manually removing or altering entriesgst
Implemented merge/resolve handling , but realized that index writing is not yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;)
index: Added write_tree method including test
index.iter_blobs method added including tests ( which have been improved generally for more coverage )
tree.traverse: Added prune functionality - previously the predciate did both, pruning and preventing to return items
Improved testing of index against trees, tests succeed with next commit
Initial version of merge including tests for one-way, two-way and tree-way merge
index writing added including simple test, improved docs of IndexEntry
improved IndexEntry type and added test for parsing of the stage
Improved tuple access of EntryIndex class including test, stage and type access still needs to be decoded though
Added initial version of the index reading from file - IndexEntry interface is to be improved though, writing needs to be implemented as well
Added frame for index implementation and testing
|
| | |
| |
| |
| | |
valid indices after manually removing or altering entriesgst
|
| | |
| |
| |
| | |
yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;)
|
| | | |
|
| | |
| |
| |
| | |
generally for more coverage )
|
| | |
| |
| |
| | |
both, pruning and preventing to return items
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
access still needs to be decoded though
|
| | |
| |
| |
| | |
is to be improved though, writing needs to be implemented as well
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
low memory footprint.
Still, the git-cat-file command keeps all data in an interal buffer instead of streaming it directly.
This is a git design issue though, and will be hard to address without some proper git-hacking.
Conflicts:
lib/git/cmd.py
|
| | |
| |
| |
| |
| | |
repo.archive: made it work with new way of custom output streams
added test for repo.archive which was missing for some reason
|
| | |
| |
| |
| | |
directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly
|
| | |
| |
| |
| | |
operations more convenient, like repo.remotes.origin.fetch
|
| | |
| |
| |
| | |
remotes, and conforming it to the way repo returns its references as well
|
| | |
| |
| |
| | |
would compare HEAD against the working tree, not the index which was intended
|
| |/
|
|
| |
and be like an actual touch
|
| |
|
|
| |
tests bare the risk that things do not work properly outside of the sandbox.
|
| |
|
|
|
|
| |
and to be more efficient of course ;)
TODO: Added info about possible config improvement
|
| | |
|
| |
|
|
|
|
| |
the respective modules that use them
fixed repo.daemon_export which did not work anymore due to incorrect touch implementation and wrong property names
|
| | |
|
| |
|
|
| |
simple tests
|
| |
|
|
|
| |
repo: added head , tag and iter_trees methods for completeness
changes: headlines now sorted chronologically
|
| |
|
|
| |
CHANGES updated to carry information about remotes and config
|
| | |
|
| |
|
|
| |
continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way
|
| |
|
|
|
| |
config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now
Test does not work as the configuration parsing does not work as expected - this must be fixed first
|
| | |
|
| |
|
|
| |
either parsing the command output or to reading the repo configuration which would be faster
|