Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 43779 (tweaked): add parentheses to fix expression with cprecedences option set | Joey Pabalinas | 2018-11-08 | 1 | -2/+2 |
| | |||||
* | 43685: add-zle-hook-widget: Support running under NO_UNSET ('set -u'). | Daniel Shahaf | 2018-10-14 | 1 | -6/+6 |
| | |||||
* | 43620 (tweaked): vcs_info git: Reverse the order patches are passed to ↵ | Daniel Shahaf | 2018-10-08 | 2 | -1/+4 |
| | | | | | | | | gen-unapplied-string in. This is an incompatible change; see README for details. Tweaks (relative to posted version): tweaked README, removed scalpel (debug print). | ||||
* | 43617: vcs_info git: During a non-interactive rebase of a detached head, ↵ | Daniel Shahaf | 2018-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | computer the %b expando correctly. Before this commit, the value of %b was the hash of the commit from the "source" side of the rebase, from .git/rebase-apply/orig-head and .git/rebase-apply/original-commit. This broke the invariant that %b expands to a git-rev-parse(1) expression resolving to what %r expands to. Use .git/rebase-apply/onto instead as, empirically, it contains the correct value. | ||||
* | 43619: vcs_info git: In non-interactive rebases, always set ↵ | Daniel Shahaf | 2018-10-08 | 1 | -10/+3 |
| | | | | $hook_com[git_patches_applied] to a string of the form 'foo bar', never just 'foo'. | ||||
* | 43618: vcs_info: Don't redefine helper functions on every execution of the ↵ | Daniel Shahaf | 2018-10-08 | 4 | -2/+13 |
| | | | | | | | autoloadable outer function. This allows enabling tracing of the helper functions without fned'ing the outer function. | ||||
* | 43587: vcs_info git: In 'git rebase -i', when computing subjects of ↵ | Daniel Shahaf | 2018-10-07 | 1 | -0/+19 |
| | | | | applied-patches, handle an edge case where the subject is not available. | ||||
* | 43588: vcs_info git: Make sure applied-patches is of the form "$hash ↵ | Daniel Shahaf | 2018-10-07 | 1 | -0/+5 |
| | | | | | | | | | | | | $subject" --- that is, has a space and a non-empty second argument --- even with future 'git rebase -i' verbs. Use of '?' is consistent with these precedents: Backends/VCS_INFO_get_data_git:220: printf -v "git_patches_applied[$p]" "%04d ?" "$p" Backends/VCS_INFO_get_data_git:242: git_patches_applied+=("? $subject") Backends/VCS_INFO_get_data_git:244: git_patches_applied+=("?") VCS_INFO_quilt:160: applied[$i]+=" ?" VCS_INFO_quilt:168: unapplied[$i]+=" ?" | ||||
* | 43586: vcs_info git: Reformat to minimise next diff. No functional change. | Daniel Shahaf | 2018-10-07 | 1 | -2/+13 |
| | |||||
* | 43585: vcs_info svn: Recognize working copies in need of an upgrade. | Daniel Shahaf | 2018-10-07 | 1 | -1/+10 |
| | |||||
* | unposted: Indicate which use-case each branch handles. | Daniel Shahaf | 2018-10-02 | 1 | -1/+3 |
| | |||||
* | 43313 (log message tweaked): vcs_info git: For the branch name, try to find ↵ | Daniel Shahaf | 2018-08-24 | 1 | -0/+4 |
| | | | | | | | | | | | | a symbolic name before falling back to a raw commit hash. Ask git-describe(1) and git-name-rev(1) to compute a gitrevisions(7) name in terms of a branch or tag that contains (= is a descendant of, is younger than) HEAD. In this repository, the output changes from "9567bfe..." to "master~1" or "remotes/origin/HEAD~1". This would also happen during bisects, e.g., "bisect/bad~22". | ||||
* | 43314: vcs_info git: Flatten a nested if. | Daniel Shahaf | 2018-08-24 | 1 | -9/+4 |
| | | | | No functional change. | ||||
* | 43084: Variable warning suppression enhancements. | Peter Stephenson | 2018-06-25 | 1 | -3/+2 |
| | | | | | | Add vared -g option along the lines of typeset -g. Set reply safely in zsh_directory_name_cdr. | ||||
* | 43030: Replace VCS_INFO_realpath() by :P | dana | 2018-06-16 | 7 | -20/+11 |
| | |||||
* | users/23434: initialise UNDO_LIMIT_NO so that an initial undo doesn't clear ↵ | Oliver Kiddle | 2018-06-07 | 1 | -2/+8 |
| | | | | the whole edit buffer | ||||
* | 42929 (tweaked): additional default bindings in zed. | Sebastian Gniazdowski | 2018-06-05 | 1 | -5/+26 |
| | | | | Add to both zed and zed-vicmd keymaps. | ||||
* | 41839: force IFS to default for "read" | Sebastian Gniazdowski | 2018-01-19 | 1 | -1/+1 |
| | |||||
* | unposted: vcs_info: Add docstrings to the internal functions ↵ | Daniel Shahaf | 2017-12-30 | 2 | -1/+8 |
| | | | | VCS_INFO_formats and VCS_INFO_set. | ||||
* | 41952: Use HGPLAIN instead of HGRCPATH in VCS_INFO_get_data_hg | Alexey Sokolov | 2017-10-25 | 1 | -2/+2 |
| | | | | | | | | | | | Fixes prompt indicator in case if the repository requires a non-default feature. With HGRCPATH, it results in: abort: repository requires features unknown to this Mercurial: ... (see https://mercurial-scm.org/wiki/MissingRequirement for more information) Which, in turn, results in "default" getting reported regardless of what is the current state of the repo. | ||||
* | 41899: handle multi-word values of $VISUAL et al., and line counting of ↵ | Barton E. Schaefer | 2017-10-15 | 1 | -5/+5 |
| | | | | buffer for emacs startup | ||||
* | Make mbegin, mend, match local in zed. | Peter Stephenson | 2017-08-31 | 1 | -0/+3 |
| | | | | Needed for zstyle -m. | ||||
* | 41565: vcs_info patch2subject: Support `svn log -r N --diff` output. | Daniel Shahaf | 2017-08-22 | 1 | -2/+9 |
| | |||||
* | 41472: introduce cleanup hooks default and restore special themes, and ↵ | Barton E. Schaefer | 2017-07-29 | 5 | -37/+115 |
| | | | | update documentation | ||||
* | 41345: Use consistent prompt variables in prompt themese. | Peter Stephenson | 2017-06-26 | 1 | -3/+3 |
| | | | | | Some more sanity may be needed in this area but this apsect seems uncontroversial. | ||||
* | 41265: quote the inserted file names as necessary | Wieland Hoffmann | 2017-06-16 | 1 | -2/+2 |
| | |||||
* | unposted: fix typo in url-quote-magic | Eric Cook | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | 41232: Use page up/down keys in zed keymap. | Sebastian Gniazdowski | 2017-06-07 | 1 | -0/+23 |
| | | | | Find with terminfo where available. | ||||
* | unposted: Use typeset -g in insert-unicode-char | Peter Stephenson | 2017-05-02 | 1 | -2/+2 |
| | | | | Avoid warning from WARN_NESTED_VAR if set. | ||||
* | 40892: subcommand matching for ip help | Aaron Schrab | 2017-03-24 | 1 | -2/+2 |
| | |||||
* | Julien Nicoulaud: 40586: discard stderr | Barton E. Schaefer | 2017-02-21 | 1 | -1/+1 |
| | |||||
* | 40492: vcs_info: Escape '%' signs in payloads. | Daniel Shahaf | 2017-02-09 | 2 | -0/+15 |
| | | | | | Test case: a patch whose subject is '%Sfoo%sbar'. ('S' and 's' are expandos both in prompts and in the 'formats' style.) | ||||
* | unposted: vcs_info git: Fix typo in manual. | Daniel Shahaf | 2017-02-04 | 1 | -0/+1 |
| | |||||
* | 40480: vcs_info set-patch-format: Eliminate the remaining code duplication. | Daniel Shahaf | 2017-02-03 | 4 | -30/+19 |
| | |||||
* | 40479: vcs_info set-patch-format: Prepare for more code sharing between the ↵ | Daniel Shahaf | 2017-02-03 | 4 | -6/+12 |
| | | | | | | callers. This changes hook invocation order in the hg backend. | ||||
* | 40481: vcs_info hg: Pass arguments to the set-patch-format hook. | Daniel Shahaf | 2017-02-03 | 1 | -1/+1 |
| | |||||
* | 40478: vcs_info set-patch-format: Guard against empty variable elision. | Daniel Shahaf | 2017-02-03 | 1 | -2/+2 |
| | |||||
* | 40476: vcs_info $backend_misc: Document at the right point, provide in quilt ↵ | Daniel Shahaf | 2017-02-03 | 1 | -0/+1 |
| | | | | 'standalone' mode. | ||||
* | 40403/0004: vcs_info set-patch-format helper: Part #4. | Daniel Shahaf | 2017-01-25 | 4 | -20/+20 |
| | | | | | This also fixes the %a (${hook_com[all-n]}) expando in the hg backend: before this change, it counted only unapplied changes. | ||||
* | 40403/0003: vcs_info set-patch-format helper: Part #3. | Daniel Shahaf | 2017-01-25 | 4 | -21/+15 |
| | |||||
* | 40403/0002: vcs_info set-patch-format helper: Part #2. | Daniel Shahaf | 2017-01-25 | 4 | -21/+16 |
| | | | | | Not all callers reset ${hook_com}, but those that don't, immediately overwrite it a few lines later. | ||||
* | 40403/0001: vcs_info set-patch-format helper: Part #1. | Daniel Shahaf | 2017-01-25 | 5 | -28/+24 |
| | |||||
* | 40401: vcs_info git: Fix the %c patch-format expando. | Daniel Shahaf | 2017-01-25 | 1 | -3/+3 |
| | | | | | | | | Before this change, ${git_unapplied_s} was unused and the %c (${hook_com[unapplied]}) expando evaluated to the number of digits in the string returned by the gen-unapplied-string hook (or to the number of digits in the number of unapplied patches, when there was no such hook). | ||||
* | 40392: vcs_info patch2subject: Support `git show` output. | Daniel Shahaf | 2017-01-25 | 1 | -0/+17 |
| | |||||
* | Oliver: 40118: alternate fix replacing 40115 | Barton E. Schaefer | 2016-12-24 | 1 | -25/+19 |
| | | | | | This commit reverts 40115 (commit 3594f55f) thus restoring 38579, then applies 40118: Relocate BUFFER/CURSOR reset to work around "fc -p" issue | ||||
* | 40149: vcs_info git: Avoid a fork. | Daniel Shahaf | 2016-12-16 | 1 | -1/+1 |
| | |||||
* | 40126: zed (fned): When editing a new function. escape its name. | Daniel Shahaf | 2016-12-09 | 1 | -1/+1 |
| | | | | | | | Example: % unfunction \( % fned \( | ||||
* | 40115: revert 38579 due to bug restoring BUFFER after history search | Zhiming Wang | 2016-12-06 | 1 | -19/+25 |
| | | | | This reverts commit 20948d088994dc7b26a26b94926432985fa6863e. | ||||
* | unposted: vcs_info git: Handle rebase-apply sequences with >=10000 patches. | Daniel Shahaf | 2016-12-04 | 1 | -3/+6 |
| | | | | Review-by: Frank Terbeck | ||||
* | 40074: vcs_info git: rfc822-unfold rebase-apply patch subjects when ↵ | Daniel Shahaf | 2016-12-04 | 1 | -8/+7 |
| | | | | | | | | msg-clean is unavailable. Example (in this repository): git -c merge.merge-changelog.driver=/bin/false rebase --onto=1955cce^^ 1955cce^ 1955cce |