- 02 10月, 2017 1 次提交
-
-
由 René Scharfe 提交于
Transformations that hide multiplications can end up with an pair of parentheses that is no longer needed. E.g. with a rule like this: @@ expression E; @@ - E * 2 + double(E) ... we might get a patch like this: - x = (a + b) * 2; + x = double((a + b)); Add a pair of parentheses to the preimage side of such rules. Coccinelle will generate patches that remove them if they are present, and it will still match expressions that lack them. Signed-off-by: NRene Scharfe <l.s.r@web.de> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 22 9月, 2017 13 次提交
-
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
-
由 Junio C Hamano 提交于
-
由 Junio C Hamano 提交于
-
由 Junio C Hamano 提交于
-
- 12 9月, 2017 3 次提交
-
-
由 Jeff King 提交于
We run `git rev-parse` though the shell, and quote its argument only with single-quotes. This prevents most metacharacters from being a problem, but misses the obvious case when $name itself has single-quotes in it. We can fix this by applying the usual shell-quoting formula. Signed-off-by: NJeff King <peff@peff.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Jeff King 提交于
Refnames can contain shell metacharacters which need to be passed verbatim to sub-processes. Using safe_pipe_capture skips the shell entirely. Signed-off-by: NJeff King <peff@peff.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Jeff King 提交于
The git-cvsserver script is old and largely unmaintained these days. But git-shell allows untrusted users to run it out of the box, significantly increasing its attack surface. Let's drop it from git-shell's list of internal handlers so that it cannot be run by default. This is not backwards compatible. But given the age and development activity on CVS-related parts of Git, this is likely to impact very few users, while helping many more (i.e., anybody who runs git-shell and had no intention of supporting CVS). There's no configuration mechanism in git-shell for us to add a boolean and flip it to "off". But there is a mechanism for adding custom commands, and adding CVS support here is fairly trivial. Let's document it to give guidance to anybody who really is still running cvsserver. Signed-off-by: NJeff King <peff@peff.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 11 9月, 2017 3 次提交
-
-
由 Junio C Hamano 提交于
This is not strictly necessary, but it is a good code hygiene. Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 joernchen 提交于
This makes the script pass arguments that are derived from end-user input in safer way when invoking subcommands. Reported-by: Njoernchen <joernchen@phenoelit.de> Signed-off-by: Njoernchen <joernchen@phenoelit.de> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
As a preparation for replacing `command` with a call to this function from outside GITCVS::updater package, move it to the main package. Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
- 10 9月, 2017 20 次提交
-
-
由 Junio C Hamano 提交于
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
-
由 Junio C Hamano 提交于
Doc updates. * jt/doc-pack-objects-fix: Doc: clarify that pack-objects makes packs, plural
-
由 Junio C Hamano 提交于
Code clean-up. * jn/vcs-svn-cleanup: vcs-svn: move remaining repo_tree functions to fast_export.h vcs-svn: remove repo_delete wrapper function vcs-svn: remove custom mode constants vcs-svn: remove more unused prototypes and declarations
-
由 Junio C Hamano 提交于
Code clean-up. * bc/vcs-svn-cleanup: vcs-svn: rename repo functions to "svn_repo" vcs-svn: remove unused prototypes
-
由 Junio C Hamano 提交于
Doc clean-up. * jk/doc-the-this: doc: fix typo in sendemail.identity
-
由 Junio C Hamano 提交于
Code clean-up. * rs/commit-h-single-parent-cleanup: commit: remove unused inline function single_parent()
-
由 Junio C Hamano 提交于
Doc fix. * mg/format-ref-doc-fix: Documentation/git-for-each-ref: clarify peeling of tags for --format Documentation: use proper wording for ref format strings
-
由 Junio C Hamano 提交于
Code clean-up. * sb/submodule-parallel-update: submodule.sh: remove unused variable
-
由 Junio C Hamano 提交于
Test fix. * hv/t5526-andand-chain-fix: t5526: fix some broken && chains
-
由 Junio C Hamano 提交于
Code clean-up. * sb/sha1-file-cleanup: sha1_file: make read_info_alternates static
-
由 Junio C Hamano 提交于
Test simplification. * rs/t1002-do-not-use-sum: t1002: stop using sum(1)
-
由 Junio C Hamano 提交于
Doc update. * ah/doc-empty-string-is-false: doc: clarify "config --bool" behaviour with empty string
-
由 Junio C Hamano 提交于
Code clean-up. * rs/merge-microcleanup: merge: use skip_prefix()
-
由 Junio C Hamano 提交于
Code clean-up. * rs/find-pack-entry-bisection: sha1_file: avoid comparison if no packed hash matches the first byte
-
由 Junio C Hamano 提交于
Code clean-up. * rs/apply-lose-prefix-length: apply: remove prefix_length member from apply_state
-
由 Junio C Hamano 提交于
Message fix. * rj/add-chmod-error-message: builtin/add: add detail to a 'cannot chmod' error message
-
由 Junio C Hamano 提交于
Code clean-up. * jk/hashcmp-memcmp: hashcmp: use memcmp instead of open-coded loop
-
由 Junio C Hamano 提交于
A test fix. * rs/t3700-clean-leftover: t3700: fix broken test under !POSIXPERM
-
由 Junio C Hamano 提交于
A comment fix. * jc/perl-git-comment-typofix: perl/Git.pm: typofix in a comment
-
由 Junio C Hamano 提交于
Code clean-up. * mf/no-dashed-subcommands: scripts: use "git foo" not "git-foo"
-