Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | BF: tollerate errors while parsing fetch lines | Yaroslav Halchenko | 2020-05-31 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At first I thought to provide special treatment to git config lines and otherwise keep raising uncaught exception, but then decided that it might be better to loose some progress information than to crash. Also _get_push_info below is doing similarish catching of all exceptions (although doesn't even log them). With this change, log (if enabled and not suppressed) would show [WARNING] Git informed while fetching: git config pull.rebase false # merge (the default strategy) in the case of recently introduced change to the output in the following git commit : d18c950a69f3a24e1e3add3d9fc427641f53e12b is the first bad commit commit d18c950a69f3a24e1e3add3d9fc427641f53e12b Author: Alex Henrie <alexhenrie24@gmail.com> Date: Mon Mar 9 21:54:20 2020 -0600 pull: warn if the user didn't say whether to rebase or to merge Often novice Git users forget to say "pull --rebase" and end up with an unnecessary merge from upstream. What they usually want is either "pull --rebase" in the simpler cases, or "pull --ff-only" to update the copy of main integration branches, and rebase their work separately. The pull.rebase configuration variable exists to help them in the simpler cases, but there is no mechanism to make these users aware of it. Issue a warning message when no --[no-]rebase option from the command line and no pull.rebase configuration variable is given. This will inconvenience those who never want to "pull --rebase", who haven't had to do anything special, but the cost of the inconvenience is paid only once per user, which should be a reasonable cost to help a number of new users. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> builtin/pull.c | 16 ++++++++++++++++ t/t5521-pull-options.sh | 22 +++++++++++----------- t/t7601-merge-pull-config.sh | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 11 deletions(-) Closes #1014 | |||||
* | Fix flake8 errors | Sebastian Thiel | 2020-05-28 | 4 | -5/+5 | |
| | ||||||
* | Improve unfortunate wording | Sebastian Thiel | 2020-05-28 | 1 | -1/+1 | |
| | | | | Fixes #1013 | |||||
* | Bump patch level, this time with known signature3.1.2 | Sebastian Thiel | 2020-05-05 | 1 | -0/+0 | |
| | ||||||
* | Accept that this arguably simple feature can't be tested easily… | Sebastian Thiel | 2020-05-04 | 1 | -1/+2 | |
| | | | | | | | | | …and time is previous. Since I could reproduce it and see it working with the steps provided in the comment: https://github.com/gitpython-developers/GitPython/pull/1009#issuecomment-623008816 I think it's good for now. We also assume there won't be a regression. | |||||
* | allow setting depth when cloning a submodule | Liam Beguin | 2020-05-02 | 1 | -1/+9 | |
| | | | | Signed-off-by: Liam Beguin <liambeguin@gmail.com> | |||||
* | add test case for submodule depth parameter | Liam Beguin | 2020-05-02 | 1 | -0/+8 | |
| | | | | Signed-off-by: Liam Beguin <liambeguin@gmail.com> | |||||
* | Change signing key back to what it was | Sebastian Thiel | 2020-04-11 | 1 | -0/+0 | |
| | ||||||
* | Remove forced verbosity when fetching from a remote | Nico | 2020-04-11 | 1 | -2/+3 | |
| | ||||||
* | Now it should really start working - go, doctests, go! | Sebastian Thiel | 2020-04-11 | 1 | -1/+1 | |
| | ||||||
* | Maybe this fixes the doc tests | Sebastian Thiel | 2020-04-11 | 1 | -1/+1 | |
| | ||||||
* | This should fix tests, as tree[0] is not a tree anymore | Sebastian Thiel | 2020-04-11 | 1 | -1/+1 | |
| | ||||||
* | Test for PyOxidizer and avoid trying to use __file__ if present | Sebastian Thiel | 2020-04-11 | 2 | -1/+1 | |
| | | | | Fixes #1002 | |||||
* | Satisfy flake8 requirement related to #1000 | Sebastian Thiel | 2020-04-11 | 1 | -1/+1 | |
| | ||||||
* | Try again to apply patch related to #1000 | Sebastian Thiel | 2020-04-11 | 1 | -1/+2 | |
| | ||||||
* | Revert "When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵ | Sebastian Thiel | 2020-04-11 | 1 | -2/+1 | |
| | | | | | | | | | subdirectory" This reverts commit eb792ea76888970d486323df07105129abbbe466. Seems to break CI Related to #1000 | |||||
* | When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵ | Sebastian Thiel | 2020-04-11 | 1 | -1/+2 | |
| | | | | | | | | | subdirectory This will work for default git object databases only, which use git as object database directly. Related to #1000 | |||||
* | fix: wrong refs 'HEAD' exception | Dong Shin | 2020-03-21 | 1 | -3/+4 | |
| | ||||||
* | Do not error in race condition of directory existing | AlanCoding | 2020-03-21 | 1 | -1/+1 | |
| | ||||||
* | Only resolve globs if path does not exist on disk | Sebastian Thiel | 2020-03-08 | 1 | -2/+2 | |
| | | | | Fixes #994 | |||||
* | Remove now unnecessary explicit Unicode string literal prefixes | Harmon | 2020-02-25 | 9 | -67/+67 | |
| | ||||||
* | Fix param format of Repo.commit | Chenxiong Qi | 2020-02-24 | 1 | -1/+3 | |
| | | | | Signed-off-by: Chenxiong Qi <qcxhome@gmail.com> | |||||
* | v3.1.0 | Harmon | 2020-02-24 | 1 | -0/+0 | |
| | ||||||
* | Replace invalid bytes when decoding TagObject stream | Harmon | 2020-02-20 | 1 | -1/+1 | |
| | | | | Fixes #943 | |||||
* | Use UTF-8 encoding when getting information about a symbolic reference | Harmon | 2020-02-18 | 1 | -1/+1 | |
| | | | | Fixes #774 | |||||
* | bump version to 3.0.83.0.8 | Sebastian Thiel | 2020-02-17 | 1 | -0/+0 | |
| | ||||||
* | Remove test.lib.asserts and use unittest.mock.patch directly | Harmon | 2020-02-16 | 4 | -18/+6 | |
| | ||||||
* | Replace assert_false with assertFalse | Harmon | 2020-02-16 | 2 | -8/+3 | |
| | ||||||
* | Replace assert_true with assertTrue | Harmon | 2020-02-16 | 5 | -22/+17 | |
| | | | | Also change TestOutputStream to subclass TestBase rather than object | |||||
* | Replace raises with assertRaises | Harmon | 2020-02-16 | 3 | -13/+6 | |
| | ||||||
* | Replace assert_raises with assertRaises | Harmon | 2020-02-16 | 3 | -9/+5 | |
| | ||||||
* | Replace assert_not_equal with assertNotEqual | Harmon | 2020-02-16 | 2 | -4/+2 | |
| | ||||||
* | Replace assert_equal with assertEqual | Harmon | 2020-02-16 | 10 | -145/+135 | |
| | | | | Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method | |||||
* | Remove and replace assert_match with assertRegex | Harmon | 2020-02-16 | 2 | -15/+2 | |
| | | | | Also remove no longer used assert_not_none | |||||
* | Remove old, no longer used assert methods | Harmon | 2020-02-16 | 1 | -37/+1 | |
| | | | | assert_instance_of, assert_not_instance_of, assert_none, assert_not_match, assert_mode_644, assert_mode_755 | |||||
* | Remove outdated checks for unittest.mock existence | Harmon | 2020-02-16 | 3 | -17/+3 | |
| | ||||||
* | Replace deprecated Logger.warn with Logger.warning | Harmon | 2020-02-16 | 2 | -2/+2 | |
| | ||||||
* | Replace deprecated assertRaisesRegexp alias with assertRaisesRegex | Harmon | 2020-02-16 | 1 | -1/+1 | |
| | | | | In TestRepo.test_should_display_blame_information | |||||
* | Replace deprecated assertNotEquals alias with assertNotEqual | Harmon | 2020-02-16 | 1 | -1/+1 | |
| | | | | In TestIndex.test_index_mutation | |||||
* | Replace deprecated assertEquals alias with assertEqual in TestGit | Harmon | 2020-02-16 | 1 | -4/+4 | |
| | ||||||
* | Replace deprecated assertRegexpMatches alias with assertRegex | Harmon | 2020-02-16 | 1 | -1/+1 | |
| | | | | In TExc.test_CommandError_unicode | |||||
* | Replace deprecated failUnlessRaises alias with assertRaises in tests | Harmon | 2020-02-16 | 15 | -123/+123 | |
| | ||||||
* | Remove checks for pathlib existence in TestRepo for Python < 3.4 | Harmon | 2020-02-16 | 1 | -14/+1 | |
| | ||||||
* | Fix Repo.__repr__ when subclassed | Jan Matějka | 2020-02-08 | 2 | -2/+3 | |
| | ||||||
* | Remove now unused is_invoking_git variable in test | Harmon | 2020-02-08 | 1 | -4/+1 | |
| | ||||||
* | Remove unnecessary check for PermissionError for Python < 3.3 | Harmon | 2020-02-08 | 1 | -5/+0 | |
| | ||||||
* | Remove unnecessary check for logging.NullHandler for Python 2.6 | Harmon | 2020-02-08 | 1 | -5/+0 | |
| | ||||||
* | Remove check for Python 2.7 | Harmon | 2020-02-08 | 1 | -6/+0 | |
| | ||||||
* | Remove attempt to import ConfigParser for Python 2 | Harmon | 2020-02-08 | 1 | -6/+1 | |
| | ||||||
* | Remove no longer used imports in tests | Harmon | 2020-02-08 | 2 | -2/+1 | |
| |