aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-06-25test: Set/override committer information as wellJeremy Sowden
`magit-with-test-directory' adds "GIT_AUTHOR_NAME" and "GIT_AUTHOR_EMAIL" to the environment, but these are not used for the committer information. No environment variables exist, which set both the author and committer information. Additionally using "GIT_COMMITTER_NAME" and "GIT_COMMITTER_EMAIL" would be an option. However, config variables that set author and committer information in one go do exit. So set "user.name" and "user.email" using the "-c" argument.
2024-06-23Use string-join instead of mapconcatJonas Bernoulli
2024-04-29tests: Move two testsJonas Bernoulli
Move them next to the related tests. These tests were added in [1: 3098bf68f2], and while it is true that they test a function which is also implemented using libgit2, that implementation is not by default so putting them in a section titled "libgit" is misleading. We are not testing the embryonic and unused libgit2 implementation. 1: 2021-04-28 3098bf68f258e088ac0d3307398d99d8c2edba41 Add tests for `magit-bare-repo-p'
2024-04-29tests: Update metadataJonas Bernoulli
These changes have been made to libraries over time, but because test files are not library, the tools that were used to make these changes to libraries, skipped this file.
2023-10-15test: Assert that certain text is visiblePaul Pogonyshev
Basic UI tests; would catch the bug in commit 1ab107a7.
2023-05-01test: Remove magit-toplevel:trampJonas Bernoulli
Yet another attempt to get this working on my machine just failed and I do not see myself trying again.
2023-04-02Consolidate ellipsis customisationNacho Barrientos
This patch centralises the generation of ellipses by extending the functionality provided by `magit-ellipsis`, allowing end users to customise for instance the ellipsis used in `magit-log` buffers. See [0] for more background and extra information. [0] https://github.com/magit/magit/discussions/4907
2023-03-13test: Compile magit-tests.elJonas Bernoulli
2023-03-13test: Stop using removed magit-status-internal aliasJonas Bernoulli
2023-01-03Bump copyright yearsJonas Bernoulli
2022-11-08test: Set protocol.file.allow=always to restore old Git behaviorKyle Meyer
Under Git v2.38.1, the magit-get and magit-toplevel:submodule tests fail due to clone errors. Both of these tests add a submodule with a _local_ URL. As of a1d4f67c12 (transport: make `protocol.file.allow` be "user" by default, 2022-10-01) [*], Git prevents submodule initialization from "file://" (and bare local) sources by default for security reasons. In the context of Magit's test suite, this isn't a security risk, so teach magit-with-test-directory to add the file protocol to the list of allowed protocols. [*] This commit was brought into Git's maint-* branches for v2.30.X through 2.38.X.
2022-10-22test: Comment failing magit-toplevel:trampJonas Bernoulli
See #4798.
2022-09-14magit-clone-url-format: Drop ~ prefix from sourcehut entryKyle Meyer
Don't hard code the "~" prefix because sourcehut plans to use a different prefix for organizations. Closes #4753.
2022-08-31Enable cloning repositories in Sourcehut by nameNacho Barrientos
This patch adds a new item to the default value of `magit-clone-name-alist' so Magit knows about Sourcehut. The default value of `magit-clone-url-format' has to be also changed to accommodate the URL scheme used by Sourcehut which differs from the ones provided by Github and Gitlab.
2022-08-31magit-clone-url-format: Use t as the default keyJonas Bernoulli
Like for cond et al.
2022-08-20Allow magit-clone-url-format to be more dynamicNacho Barrientos
This patch permits `magit-clone-url-format' to be represented as an alist mapping hostnames to URL formats. This way Magit can be configured to translate repository names into URLs when using servers that employ different URL schemes. The current value type (string) is kept for backwards compatibility.
2022-08-03Set coding system for remaining libraries that need itKyle Meyer
The set of files that contain non-ASCII characters has grown since 1c6205d8 (Only set coding system for libraries that need it, 2016-12-27). Set the coding system for all files listed by git grep -lP '[^\x00-\x7f]' '*.el' Closes #4732.
2022-04-22magit-tests.el: Use lexical-bindingJonas Bernoulli
2022-04-22Refresh library headersJonas Bernoulli
2022-03-29make: Rename EMACSBIN variable to EMACSJonas Bernoulli
I've been doing that for a long time for many of my other packages and nobody reported an issue, but if someone is trying to build magit by running make in a terminal running inside emacs and that uses bash 4.3 or older, then that would fail now. On the other hand more people likely try "EMACS=emacs-26.1 make" and then wonder why that doesn't work. (The new variable for indicating to a shell that it is running inside emacs is INSIDE_EMACS.)
2022-01-01Bump copyright yearsJonas Bernoulli
2021-12-16Rename t/ to test/Jonas Bernoulli
2010-06-07Create a bin dir, remove test dir.Phil Jackson
2008-09-07Deleted.Marius Vollmer
2008-09-07Don't detect renames yet. Record more information for diffs.Marius Vollmer
2008-08-11New file FOO.Marius Vollmer
2008-08-11Prepare a cherry.Marius Vollmer
2008-08-05BLa bla.Marius Vollmer
2008-08-05Testing.Marius Vollmer
2008-08-05Testing.Marius Vollmer
2008-08-05Testing...Marius Vollmer
2008-08-04Test, test.Marius Vollmer
2008-08-04(changes)Marius Vollmer
2008-08-04(changes)Marius Vollmer
2008-08-03(changes)Marius Vollmer
2008-08-03(changes)Marius Vollmer
2008-08-03(changes)Marius Vollmer
2008-08-03(changes)Marius Vollmer
2008-08-01(changes)Marius Vollmer