| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
reduce the file size as much as I would have liked, but certainly is a start for further 'outsourcing'
|
|
|
|
| |
appears to be working
|
|
|
|
|
|
| |
has unified its way it reads from stdin, now it wants all items to be terminated by a newline usually. Previously, it could have been that it really didn't want to have a termination character when the last item was written to the file. Bumped the minimum requirements to 1.7.0 to be sure it is working as I think it will.
Still, I have to admit that sometime it just appears the closed pipe will not stop git from waiting for more input, at least with the previous implementation
|
|
|
|
|
|
|
|
| |
and absolute paths were given
Commit.create_from_tree: fixed critical bug that would cause it to create a branch named master by default, instead of the reference actually set ( which is master in many, but not all cases )
- in fact it could be detached as well, we would fail ungracefully although we could assume master then ... although we cant really make the decision
Repo.is_dirty: improved its abiility to deal with empty repositories and a missing head. Weird thing is that the test always worked fine with the previous code, but it didn't work for me in a similar situation without this change at least
|
|
|
|
|
|
|
| |
different path in the index than the actual one on disk ( from which the object will be created )
Fixed bug the way newlines were handled, which hopefully fixes occasional hangs as well. It works fine with git 1.7.1
Most of the changes are due to the tab-space conversion - its weird once more as I thought it was all in spaces before ... .
|
|
|
|
|
|
|
|
| |
repo.is_dirty: Will not fail on empty repo ( anymore )
index.entries: will just be empty if the repository is empty
refs: added to_full_path method which can be used to create fully synthetic instances of Reference types, added a test for it
Converted all touched files to spaces, which is why git reports so many changed files. Actually I was thinking every file would use spaces, but apparently not
|
|
|
|
| |
if an unset slot is being deleted.
|
| |
|
|
|
|
| |
data, which becomes important if git-write-tree is supposed to be used
|
|
|
|
| |
test.helpers: temporary rw repository creators now set the working dir of the program, easing working with relative paths a lot
|
|
|
|
| |
regarding its parents
|
|
|
|
| |
Repo.init: fixed incorrect use of the path which was to optionally specify where to initialize the repository. Update test as well
|
| |
|
|
|
|
|
|
| |
caused lockups while waiting for stdout
NOTE: This does not have the desired effect, the issue appears to be somewhere within git, possibly, as git simply does not terminate waiting for something, even if stdout is closed.
|
| |
|
|
|
|
| |
based git operations in concurrent environments
|
|
|
|
|
|
| |
exist more gracefully
Added BlockingLockFile which may be used to wait for the lock according to some criteria
|
|
|
|
| |
failure as well, one per failed file
|
|
|
|
| |
safer to use in case of bare repositories
|
|
|
|
| |
index easier
|
|
|
|
|
|
| |
restriction anymore.
Added a test to assure the git commands can handle it
|
|
|
|
| |
any of our changes entries as it would in fact write a possibly cached tree stored in our extension data.It was solved by simply ignoring that extension data when writing the index for tree creation. A test was added for this as well
|
|
|
|
| |
Index.checkout: fixed bug in exception creator function
|
|
|
|
| |
using the current index. This makes it more flexible. For convenience, the index.commit method is still available, it delgates all the work
|
|
|
|
| |
index.write_tree may now use the missing_ok argument which writes trees faster and allows you to operate without objects to do a true index based merge
|
|
|
|
| |
that always occour when dealing with working tree diffs ( for ovious reasons ). Also the implementation would previously leave empty blobs where no file actually existed
|
|
|
|
|
|
| |
exact information about the successfully checked out files as well as the failed ones
Return value of the method is an iterator to all checked out files
|
|
|
|
| |
messages - previously it would be more narrow and raise a GitCommandError in cases where it wasnt actually needed
|
|
|
|
| |
have not been updated as they where modified locally or did not exist. Test was improved to check for this new case.
|
| |
|
|
|
|
| |
processing - delays could have been possible previously as it would expand (possibly) large amounts of paths in advance
|
|
|
|
| |
code does not rely on my own git patch anymore as it is unsure whether it will make it in there or when
|
|
|
|
|
|
| |
just in time
This adds a dependency to a git update index fix - and I hope it will be put in in time ( including windows version )
|
|
|
|
|
|
| |
symlinks.
Added index.get_entries_key method to allow direct access to anyone willing to do so
|
|
|
|
| |
binary files went crazy as well as binary writing
|
|
|
|
|
|
|
| |
backslashes depending on the operating system
fixed test_refs and test_trees
Many more issues remain though, this is just a first backup commit
|
|
|
|
| |
are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway.
|
|
|
|
| |
as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly
|
|
|
|
| |
index.checkout: added simple method allowing to checkout files from the index, including simple test
|
|
|
|
| |
change the head to the given commit, which makes the methods more versatile
|
|
|
|
| |
required to have a nice API. Tests are not yet fully done either
|
| |
|
| |
|
|
|
|
| |
into UpdateIndex. The Inode and device information is only needed to quickly compare the index against the working tree for changes, hence it should not be that dominant in the API either. More changes to come
|
| |
|
|
|
|
| |
TODO list
|
|
|
|
| |
files, not on streams, as Indices are not streamed by any git command ( at least not in raw format )
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
given. It will lazily read its data on first access
|