summaryrefslogtreecommitdiff
path: root/git
Commit message (Collapse)AuthorAgeFilesLines
...
| * Win, #519: FIX WinHangs: Popen() CREATE_NEW_PROCESS_GROUP to allow killKostis Anagnostopoulos2016-09-264-17/+26
| | | | | | | | | | + FIXED most hangs BUT no more `git-daemon` un-killable! + Use logger for utils to replace stray print().
| * test, #519: Popen() pump: remove WaitGroupKostis Anagnostopoulos2016-09-262-46/+9
| |
| * test, #519: Popen() universal_newlin.es NoWindow in WinfoesKostis Anagnostopoulos2016-09-264-2/+16
| | | | | | | | | | | | + More win-fixes: + Do not check unicode files in < py3. + util, #519: x4 timeout of lock-file blocking, failing in Appveyor.
| * test, #519: FIX appveyor conda & failures in py2.6 `assertRaisesRegexp`Kostis Anagnostopoulos2016-09-263-5/+11
| |
| * apveyor, #519: FIX incomplete Popen pumpKostis Anagnostopoulos2016-09-262-6/+18
| | | | | | | | | | | | | | | | + The code in `_read_lines_from_fno()` was reading the stream only once per invocation, so when input was larger than `mmap.PAGESIZE`, bytes were forgotten in the stream. + Replaced buffer-building code with iterate-on-file-descriptors. + Also set deamon-threads.
| * apveyor: simplify test.Kostis Anagnostopoulos2016-09-261-1/+1
| |
| * win: GC.collect on all TC.tearDown to fix appveyor hang runsKostis Anagnostopoulos2016-09-269-3/+38
| | | | | | | | | | + Fixed the hangs at `test_git:TestGit.test_handle_process_output()`. [travisci skip]
| * test, deps: FIX `mock` deps on py3.Kostis Anagnostopoulos2016-09-254-20/+30
| | | | | | | | + Del extra spaces, import os.path as osp
| * fix(test): put `test_commits` backSebastian Thiel2016-09-251-0/+1
| | | | | | | | Thanks to @yarikoptic for catching this one !
| * fix(test): deal with py2 and py3Sebastian Thiel2016-09-251-1/+3
| | | | | | | | | | | | It ain't pretty, but should do the job. Related to #514
| * fix(index): improve LockedFD handlingSebastian Thiel2016-09-252-2/+29
| | | | | | | | | | | | | | | | | | | | Relying on the destructor will not work, even though the code used to rely on it. Now we handle failures more explicitly. Far from perfect, but a good start for a fix. Fixes #514
| * BF: allow for other section names which start with a string "remote"Yaroslav Halchenko2016-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by demanding a space after a word remote, and space is explicitly described as a delimiter in man git-config: To begin a subsection put its name in double quotes, separated by space from the section name, otherwise e.g. File "/usr/lib/python2.7/dist-packages/datalad/support/gitrepo.py", line 836, in get_remote_branches for remote in self.repo.remotes: File "/home/yoh/deb/gits/python-git/git/repo/base.py", line 271, in remotes return Remote.list_items(self) File "/home/yoh/deb/gits/python-git/git/util.py", line 745, in list_items out_list.extend(cls.iter_items(repo, *args, **kwargs)) File "/home/yoh/deb/gits/python-git/git/remote.py", line 453, in iter_items raise ValueError("Remote-Section has invalid format: %r" % section) ValueError: Remote-Section has invalid format: u'remotes'
* | Force GC collectionDaniele Esposti2016-09-191-0/+2
| |
* | No need to create the lock file beforehandDaniele Esposti2016-09-141-10/+4
| |
* | Replaced lock file code with flock()Daniele Esposti2016-09-121-21/+26
|/
* doc(limitations): be very clear about known issuesSebastian Thiel2016-09-111-0/+0
| | | | Fixes #508
* fix(Head): checkout() handles detached headSebastian Thiel2016-09-112-1/+12
| | | | | | | | | It's not optimal, as we can now return one of two types which are only compatible in the most basic ways. However, it is better than before, I presume. Fixes #510
* fix(repo): make it serializable with pickleSebastian Thiel2016-09-113-3/+25
| | | | | | | It's entirely untested if this repo still does the right thing, but I'd think it does. Fixes #504
* fix(tag): resolve `commit` objects deeply.Sebastian Thiel2016-09-111-7/+7
| | | | | | | As TagObjects can point to other TagObjects, we need to keep going in order to resolve the final commit. Fixes #503
* Update Remotes section (#502)Forrest Hopkins2016-08-241-2/+7
| | | | | Update Remotes section The Remotes section was missing some pretty important info.
* fix(commit): handle gpgsig properlySebastian Thiel2016-08-212-6/+39
| | | | | | | Assure that gpgsig is not initialized with None to allow the automatic deserialization to kick in. Fixes #500
* Updated unittest.Phil Elson2016-08-191-2/+2
|
* Allowed remotes to have no refs.Phil Elson2016-08-191-1/+0
|
* use $GIT_DIR when setPiotr Gaczkowski2016-08-171-1/+1
|
* Merge pull request #496 from haizaar/masterSebastian Thiel2016-08-022-4/+25
|\ | | | | is_dirty supports path. Fixes #482.
| * is_dirty supports path. Fixes #482.Zaar Hai2016-08-012-4/+25
| |
* | refactor(cmd): streamline usage of creationflagsSebastian Thiel2016-08-021-13/+4
| |
* | fix flake8 problemsBarry Scott2016-08-011-3/+3
| |
* | add test to detect the corrupt logBarry Scott2016-08-011-1/+12
| | | | | | | | - add a second line to commit messages with the "BAD MESSAGE" text - read in the log and confirm that the seond line is not in the log file
* | creationflags must be set to 0 on non-windows platformsBarry Scott2016-08-011-4/+5
| |
* | Must pass creationflags as a keyworkBarry Scott2016-08-011-1/+1
| |
* | Prevent CMD windows being shown when starting git in a subprocess.Barry Scott2016-07-291-1/+14
| | | | | | | | | | This fixes a UI problem with using GitPython from a GUI python probgram. Each repo that is opened creates a git cat-file processs and that provess will create a console window with out this change.
* | Merge remote-tracking branch 'upstream/master'Barry Scott2016-07-297-11/+23
|\ \
| * \ Merge pull request #490 from bertwesarg/patch-1Sebastian Thiel2016-07-231-1/+1
| |\ \ | | | | | | | | Add missing newline when writing a symbolic ref.
| | * | Use binary string constant for concatenation.Bert Wesarg2016-07-191-1/+1
| | | |
| | * | Add missing newline when writing a symbolic ref.Bert Wesarg2016-07-191-1/+1
| | | |
| * | | fix(diff): use explicit change-type if possibleSebastian Thiel2016-07-233-5/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | That way, we do not have to figure the change type out by examining the diff object. It's implemented in a way that should yield more desireable results as we keep the change-type that git is providing us with. Fixes #493
| * | fix(blame): lazily fetch full commit messageSebastian Thiel2016-07-172-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way, we will not only get the summary line contained in the blame, but fetch the full message. This is more costly than the previous implementation allowed it to be, but being less surprising/correct certainly is the preferred behaviour here. Fixes #485
| * | chore(version-up): v2.0.72.0.7Sebastian Thiel2016-07-171-0/+0
| |/
* | Merge branch 'master' of https://github.com/gitpython-developers/GitPythonBarry Scott2016-07-1210-42/+183
|\ \ | |/
| * Commit without executing hooks, fixes #468Peter Bengtsson2016-06-201-3/+8
| |
| * fix(remote): lazy PushInfo.old_commit initializationSebastian Thiel2016-06-201-4/+7
| | | | | | | | | | | | | | | | We will now populate the old_commit on demand, which will allow us to keep going even if the given commit does not exist locally. Fixes #461
| * Merge branch 'master' into fix-non-ascii-chars-in-status-linesfix-non-ascii-chars-in-status-linesSebastian Thiel2016-06-203-18/+48
| |\
| | * Merge pull request #474 from gitpython-developers/keep-raw-bytes-on-diffsSebastian Thiel2016-06-203-18/+48
| | |\ | | | | | | | | Store raw path bytes in Diff instances
| | | * Store raw path bytes in Diff instanceskeep-raw-bytes-on-diffsVincent Driessen2016-06-143-18/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the following fields on Diff instances were assumed to be passed in as unicode strings: - `a_path` - `b_path` - `rename_from` - `rename_to` However, since Git natively records paths as bytes, these may potentially not have a valid unicode representation. This patch changes the Diff instance to instead take the following equivalent fields that should be raw bytes instead: - `a_rawpath` - `b_rawpath` - `raw_rename_from` - `raw_rename_to` NOTE ON BACKWARD COMPATIBILITY: The original `a_path`, `b_path`, etc. fields are still available as properties (rather than slots). These properties now dynamically decode the raw bytes into a unicode string (performing the potentially destructive operation of replacing invalid unicode chars by "�"'s). This means that all code using Diffs should remain backward compatible. The only exception is when people would manually construct Diff instances by calling the constructor directly, in which case they should now pass in bytes rather than unicode strings. See also the discussion on https://github.com/gitpython-developers/GitPython/pull/467
| * | | Merge branch 'master' into fix-non-ascii-chars-in-status-linesSebastian Thiel2016-06-201-5/+6
| |\ \ \ | | |/ /
| | * | Fix issue #470Barry Warsaw2016-06-151-5/+6
| | |/
| * | Fix for parsing non-ASCII chars in status linesVincent Driessen2016-06-141-1/+1
| |/
| * Python 2.6 compatVincent Driessen2016-06-141-1/+1
| |
| * fix(test_docs): skip master-dependent assertionSebastian Thiel2016-06-141-1/+3
| | | | | | | | | | It usually fails on branches, which doesn't help assessing PRs.