- Dec 15, 2018
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
A recent update accidentally squelched an error message when the run_command API failed to run a missing command, which has been corrected. * jc/run-command-report-exec-failure-fix: run-command: report exec failure
-
Junio C Hamano authored
"git help -a" did not work well when an overly long alias is defined, which has been corrected. * js/help-commands-verbose-by-default-fix: help -a: handle aliases with long names gracefully help.h: fix coding style
-
Junio C Hamano authored
Portability fix for a recent update to parse-options API. * nd/show-gitcomp-compilation-fix: parse-options: fix SunCC compiler warning
-
Junio C Hamano authored
* js/t9902-send-email-completion-fix: t9902: 'send-email' test case requires PERL
-
Junio C Hamano authored
Test portability fix. * js/mailinfo-format-flowed-fix: t4256: mark support files as LF-only
-
Junio C Hamano authored
Test portability fix. * ds/hash-independent-tests-fix: .gitattributes: ensure t/oid-info/* has eol=lf
-
- Dec 14, 2018
-
-
Derrick Stolee authored
The new test_oid machinery in the test library requires reading some information from t/oid-info/hash-info and t/oid-info/oid. The logic to read from these files in shell uses built-in "read" command, which leaves CR at the end of these text files when they are checked out with CRLF line endings, at least when run with bash shipped with Git for Windows. This results in an unexpected value in the variable these lines are read into, leading the tests to fail. Mark them to be checked out always with the LF line endings. Signed-off-by:
Derrick Stolee <dstolee@microsoft.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Johannes Schindelin authored
The oneline notwithstanding, 13374987 (completion: use _gitcompbuiltin for format-patch, 2018-11-03) changed also the way send-email options are completed, by asking the git send-email command itself what options it offers. Necessarily, this must fail when built with NO_PERL because send-email itself is a Perl script. Which means that we need the PERL prerequisite for the send-email test case in t9902. Signed-off-by:
Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- Dec 13, 2018
-
-
Johannes Schindelin authored
The test t4256-am-format-flowed.sh requires carefully applying a patch after ignoring padding whitespace. This breaks if the file is munged to include CRLF line endings instead of LF. Signed-off-by:
Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by:
Derrick Stolee <dstolee@microsoft.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- Dec 12, 2018
-
-
Nguyễn Thái Ngọc Duy authored
The compiler reports this because show_gitcomp() never actually returns a value: "parse-options.c", line 520: warning: Function has no return statement : show_gitcomp We could shut the compiler up. But instead let's not bury exit() too deep. Do the same as internal -h handling, return a special error code and handle the exit() in parse_options() (and other parse_options_step() callers) instead. Reported-by:
Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by:
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Johannes Schindelin authored
We take pains to determine the longest command beforehand, so that we can align the category column after printing the command names. However, then we re-use that value when printing the aliases. If any alias name is longer than the longest command name, we consequently try to add a negative number of spaces (but `mput_char()` does not expect any negative values and simply decrements until the value is 0, i.e. it tries to add close to 2**31 spaces). Let's fix this by adjusting the `longest` variable before printing the aliases. This fixes https://github.com/git-for-windows/git/issues/1975 . Signed-off-by:
Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Johannes Schindelin authored
We want a space after the `while` keyword. Signed-off-by:
Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
In 321fd823 ("run-command: mark path lookup errors with ENOENT", 2018-10-24), we rewrote the logic to execute a command by looking in the directories on $PATH; as a side effect, a request to run a command that is not found on $PATH is noticed even before a child process is forked to execute it. We however stopped to report an exec failure in such a case by mistake. Add a logic to report the error unless silent-exec-failure is requested, to match the original code. Reported-by:
John Passaro <john.a.passaro@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- Dec 09, 2018
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
https://github.com/git-l10n/git-poJunio C Hamano authored
l10n-2.20.0-rnd3 * tag 'l10n-2.20.0-rnd3' of https://github.com/git-l10n/git-po: (22 commits) l10n: de.po: fix two messages l10n: zh_CN: for git v2.20.0 l10n round 1 to 3 l10n: update German translation l10n: bg.po: Updated Bulgarian translation (4187t) l10n: sv.po: Update Swedish translation (4187t0f0u) l10n: fr.po v2.20.0 round 3 l10n: vi(4187t): Updated Vietnamese translation for v2.20.0 rd3 l10n: es.po v2.20.0 round 3 l10n: git.pot: v2.20.0 round 3 (5 new, 3 removed) l10n: vi(4185t): Updated Vietnamese translation for v2.20.0 l10n: es.po v2.20.0 round 1 l10n: bg.po: Updated Bulgarian translation (4185t) l10n: git.pot: v2.20.0 round 2 (2 new, 2 removed) l10n: bg.po: Updated Bulgarian translation (4185t) l10n: sv.po: Update Swedish translation (4185t0f0u) l10n: fr.po v2.20 rnd 1 l10n: Update Catalan translation l10n: git.pot: v2.20.0 round 1 (254 new, 27 removed) l10n: Update Catalan translation l10n: vi.po: fix typo in pack-objects ...
-
- Dec 07, 2018
-
-
Ralf Thielow authored
Reported-by:
Phillip Szelat <phillip.szelat@gmail.com> Signed-off-by:
Ralf Thielow <ralf.thielow@gmail.com>
-
- Dec 06, 2018
-
-
Jiang Xin authored
Translate 257 new messages (4187t0f0u) for git 2.20.0. Reviewed-by:
Zhou Fangyi <fangyi.zhou@yuriko.moe> Reviewed-by:
依云 <lilydjwg@gmail.com> Signed-off-by:
Jiang Xin <worldhello.net@gmail.com>
-
Ralf Thielow authored
Signed-off-by:
Ralf Thielow <ralf.thielow@gmail.com>
-
- Dec 04, 2018
-
-
Junio C Hamano authored
* es/format-patch-range-diff-fix-fix: range-diff: always pass at least minimal diff options
-
Junio C Hamano authored
* en/rebase-consistency: rebase docs: fix incorrect format of the section Behavioral Differences
-
Johannes Sixt authored
The text body of section Behavioral Differences is typeset as code, but should be regular text. Remove the indentation to achieve that. While here, prettify the language: - use "the x backend" instead of "x-based rebase"; - use present tense instead of future tense; and use subsections instead of a list. Signed-off-by:
Johannes Sixt <j6t@kdbg.org> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Martin Ågren authored
We have three double-quote characters, which is one too many or too few. Dropping the last one seems to match the original intention best. Signed-off-by:
Martin Ågren <martin.agren@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Martin Ågren authored
I had to read this sentence a few times to understand it. Let's try to clarify it. Signed-off-by:
Martin Ågren <martin.agren@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Martin Ågren authored
Some items that should be in "Performance, Internal Implementation, Development Support etc." have ended up in "UI, Workflows & Features" and "Fixes since v2.19". Move them, and do s/uses/use/ while at it. Signed-off-by:
Martin Ågren <martin.agren@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Martin Ågren authored
Commit d8981c3f ("format-patch: do not let its diff-options affect --range-diff", 2018-11-30) taught `show_range_diff()` to accept a NULL-pointer as an indication that it should use its own "reasonable default". That fixed a regression from a5170794 ("Merge branch 'ab/range-diff-no-patch'", 2018-11-18), but unfortunately it introduced a regression of its own. In particular, it means we forget the `file` member of the diff options, so rather than placing a range-diff in the cover-letter, we write it to stdout. In order to fix this, rewrite the two callers adjusted by d8981c3f to instead create a "dummy" set of diff options where they only fill in the fields we absolutely require, such as output file and color. Modify and extend the existing tests to try and verify that the right contents end up in the right place. Don't revert `show_range_diff()`, i.e., let it keep accepting NULL. Rather than removing what is dead code and figuring out it isn't actually dead and we've broken 2.20, just leave it for now. [es: retain diff coloring when going to stdout] Signed-off-by:
Martin Ågren <martin.agren@gmail.com> Signed-off-by:
Eric Sunshine <sunshine@sunshineco.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- Dec 03, 2018
-
- Dec 02, 2018
-
-
Alexander Shopov authored
Signed-off-by:
Alexander Shopov <ash@kambanaria.org>
-
Peter Krefting authored
Signed-off-by:
Peter Krefting <peter@softwolves.pp.se>
-
git://github.com/jnavila/gitJiang Xin authored
-
Jean-Noël Avila authored
Signed-off-by:
Jean-Noël Avila <jn.avila@free.fr>
-
Trần Ngọc Quân authored
Signed-off-by:
Tran Ngoc Quan <vnwildman@gmail.com>
-
Christopher Diaz Riveros authored
Signed-off-by:
Christopher Diaz Riveros <chrisadr@gentoo.org>
-
Jiang Xin authored
Generate po/git.pot from v2.20.0-rc2 for git v2.20.0 l10n round 3. Signed-off-by:
Jiang Xin <worldhello.net@gmail.com>
-
Trần Ngọc Quân authored
Signed-off-by:
Tran Ngoc Quan <vnwildman@gmail.com>
-
- Dec 01, 2018
-
-
Christopher Diaz Riveros authored
Signed-off-by:
Christopher Diaz Riveros <chrisadr@gentoo.org>
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-