1
0
Fork 0
mirror of synced 2024-06-20 23:51:09 -04:00
zimfw/modules
Eric Nielsen 0a7451999e [git] Review all functions but ones using git fsck
as there are multiple solutions to list the lost commits and stashes,
but I could not find reliable ones. See
https://stackoverflow.com/q/89332/2654518.
Well, the current `git-commit-lost` and `git-stash-dropped`
implementations don't accurately work at least on the repositories I'm
working with.

The `git-hub` functions where removed at dcc3265, but aliases and docs
remained. Remove these.

Remove line break from `_git_log_oneline_format`, so it really occupies
one line. And change date format in `glG` output from committer date
(`%cd`) to relative author date (`%ar`) to conform with other formats.

Refactor remaining functions. Most of the changes refer to using the
already existing git error messages and return codes, instead of having
code that creates that. (Error messages for 'not in a git repository'
where not even consistent among functions, and there's were I started
this...)
The most drastic changes can be seen in `git-root`, then in `git-dir`
and `git-stash-clear-interactive`.
2018-01-10 10:25:25 -05:00
..
archive [archive] Remove _gzip_bin and _bzip2_bin refs 2017-10-23 09:54:08 -05:00
autosuggestions [autosuggestions] Update submodule to version v0.4.2 2018-01-05 12:30:56 -05:00
completion [completion] Remove smart editor completion 2017-11-29 09:06:41 -05:00
custom Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
debug Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
directory use setopt NO_CLOBBER instead of unsetopt CLOBBER 2017-01-11 22:16:07 -08:00
environment [environment] Remove path separator from WORDCHARS 2017-09-21 19:23:14 -05:00
fasd remove broken quote in fasd function 2017-05-30 06:30:30 -07:00
git [git] Review all functions but ones using git fsck 2018-01-10 10:25:25 -05:00
git-info [git-info] Move git-info function to functions dir 2018-01-09 09:24:01 -05:00
history use consistent variable style 2015-12-19 09:48:29 -05:00
history-substring-search Update to new repo URL 2018-01-03 10:30:12 -05:00
input [input] Fix typo in README 2016-12-01 23:51:59 -08:00
pacman [pacman] detect pkg regardless of compress method 2017-09-18 09:18:12 -04:00
prompt [prompt] eriner: Simplify help message and use PS1 2018-01-08 12:22:35 -05:00
ssh fix broken variable 2015-12-23 05:13:09 -05:00
syntax-highlighting Update to new repo URL 2018-01-03 10:30:12 -05:00
utility [utility] Change colour blue to bold blue 2017-12-01 17:28:02 -05:00