Commit graph

220 commits

Author SHA1 Message Date
Vedang Manerikar d41375abdd Handle .gitconfig pager attribute.
The existing script handles the `core.pager` attribute, but does not
account for the `pager` attribute in git-config. Tools like
`diff-highlight` which ship with git recommend using the `pager`
attribute, and provide beautiful diffs.

I've made minor changes in the script to use these configuration
parameters if they are defined.

Ref: https://github.com/git/git/tree/master/contrib/diff-highlight
2020-08-08 12:08:42 +05:30
Wenxuan Zhang 57224696a9 docs: misc 2020-08-05 11:45:55 +08:00
Wenxuan Zhang 64c93ae585 docs: add descriptions. close #102 2020-08-05 11:12:27 +08:00
Wenxuan Zhang 938a795f61 ci: update stale.yml 2020-08-01 22:15:17 +08:00
Wenxuan Zhang c369b6c2d9 ci: add stale.yml 2020-08-01 21:58:20 +08:00
Chris Apple 3eee947171
Merge pull request #99 from cjappl/add-btab-to-readme
added toggle mark move down to README
2020-07-02 08:41:16 -07:00
Christopher Apple 74f10f3eed added toggle mark move down to README 2020-07-02 08:39:23 -07:00
Wenxuan Zhang d0506a0f1c docs: shorten url 2020-06-15 16:19:43 +08:00
Wenxuan 3f62f39bbe
Merge pull request #95 from cjappl/fix-gcf-fish
fixed gcf, and a bunch of other things. Added git status before returns
2020-06-15 10:05:47 +08:00
Christopher Apple 896a960a03 fixed gcf, and a bunch of other things. Added git status before most returns 2020-06-13 10:59:47 -07:00
Chris Apple 0a817455d9
Merge pull request #93 from OakNinja/patch-1
The bug in fish <3.1 is resolved
2020-06-06 17:57:33 -07:00
Esse Woods 2782b0f2e6
The bug in fish <3.1 is resolved
The bug in 3.1 was solved by https://github.com/fish-shell/fish-shell/issues/6955

Resolves #87
2020-06-06 23:06:01 +02:00
Wenxuan 9faef0c523
docs: add badge. 2020-05-12 19:47:49 +08:00
Wenxuan Zhang e346cb1980 docs: improve README 2020-05-11 14:40:06 +08:00
Wenxuan Zhang 1f1e135b9f feat: try to suppress global '-1' option for fzf
Use '+1' to suppress '-1' option set by `FZF_DEFAULT_OPTS`.
This is a undocumented option for `fzf`. There is no guarantee that it
will always work. It's better to not set such options in
`FZF_DEFAULT_OPTS` which are not globally applicable. #80
2020-05-07 19:38:54 +08:00
Chris Apple 35c61e6873
Merge pull request #88 from cjappl/glo-slice
added glo slice to fish, warning about fish 3.1
2020-04-20 15:45:43 -07:00
Christopher Apple b4f0efdeca added glo slice to fish, warning about fish 3.1 2020-04-20 15:44:02 -07:00
Wenxuan Zhang 801e137d71 docs: add comment 2020-04-17 12:35:43 +08:00
Wenxuan Zhang bd67dcbddd feat: support commit ref parameters for glo. #85 2020-04-17 12:29:39 +08:00
Chris Apple 590e77ca07
Merge pull request #83 from cjappl/preview_error
Fixed git diff and git stash show preview errors
2020-04-09 09:24:52 -07:00
Christopher Apple 5b839bc34c fixed git stash show 2020-04-09 09:22:16 -07:00
Christopher Apple 2f2122bd59 fixed git diff preview fish 2020-04-09 09:18:27 -07:00
Wenxuan Zhang a5da0127c7 fix: fix preview error on gss. #74 2020-04-09 11:02:58 +08:00
Chris Apple 7e54bffad2
Merge pull request #82 from pepijno/fix/fish_stash_syntax_error
Fix syntax error in git stash viewer for fish
2020-04-08 14:45:15 -07:00
Pepijn Overbeeke 6beeb2a96e Fix syntax error in git stash viewer for fish 2020-04-08 10:00:03 +02:00
Wenxuan Zhang d0f09565e0 fix: fix preview error on gd. #74 2020-04-08 10:45:18 +08:00
Chris Apple 5e13b10180
Merge pull request #81 from cjappl/fix_path_fish
Feature toggle log graph, fish
2020-03-30 09:08:55 -07:00
Christopher Apple f1f5fcc9f5 Feature toggle log graph, fish 2020-03-30 09:06:55 -07:00
Wenxuan Zhang 4cc211bd34 docs: add description for FORGIT_LOG_GRAPH_ENABLE 2020-03-29 16:28:24 +08:00
Wenxuan Zhang 168d9c1d19 feat: add an option to turn off the log graph. 2020-03-29 16:28:24 +08:00
Wenxuan Zhang 5426e7c19c fix: fix preview error for fish part. closes #76 2020-03-22 22:25:08 +08:00
nothingelsematters 9cdb037551 fzf preview bug fixed x2 2020-03-22 22:10:59 +08:00
nothingelsematters ee52d21952 fzf preview bug fixed 2020-03-22 22:10:59 +08:00
Wenxuan Zhang 4eb0832e53 fix: 🐛 Fix issue on ga when path contains blanks 2020-01-15 15:30:52 +08:00
Wenxuan Zhang fa3303b432 Refactor 2020-01-14 22:36:52 +08:00
Carlos de Paula 0c6199b8cd Add files as arguments
Add case where "ga" command can accept files as arguments
that will be passed directly to "git add" bypassing fzf.
2020-01-14 22:10:40 +08:00
Chris Apple c954a1c92c
Merge pull request #69 from cjappl/untracked_files
added untracked files to fish forgit-add
2019-12-30 13:15:21 -08:00
Christopher Apple 857423fc24 added untracked files to fish git-add 2019-12-30 13:12:59 -08:00
Wenxuan Zhang 1cdc643e84 feat: 🎸 Improve diff preview on untracked files for ga. #66 2019-12-22 12:14:06 +08:00
Wenxuan Zhang 10308be2c3 fix: 🐛 Fix path issue on osx. #65 2019-12-17 11:46:15 +08:00
Chris Apple 70ac790418
Deleted an extra echo left in from debugging 2019-12-15 09:01:27 -08:00
Wenxuan ade7ca9554
Merge pull request #63 from wfxr/fix-path
Fix more whitespace related bugs
2019-11-26 18:55:42 +08:00
Wenxuan Zhang 779e8b4d36 style: 💄 refactor xargs parameter format 2019-11-26 18:42:22 +08:00
Wenxuan Zhang 0de4c2c91f fix: 🐛 fix more whitespace related bugs 2019-11-26 18:40:03 +08:00
Chris Apple 23f30e9c7a
Merge pull request #62 from cjappl/fix_path_fish
Fix path fish
2019-11-26 09:49:26 +01:00
Christopher Apple fd63265fe5 fixed add even more, leading whitespace issue 2019-11-26 09:43:36 +01:00
Christopher Apple 803cb4fd2d Better way to do spaces in filenames 2019-11-26 09:35:33 +01:00
Christopher Apple bd14e559e5 first attempt at new commands, removed pipe from pager command to be more readable 2019-11-25 23:59:45 +01:00
Wenxuan Zhang 1aa0214d40 docs: ✏️ Add badges 2019-11-25 20:09:50 +08:00
Wenxuan Zhang 8e1c0958bf docs: ✏️ Add an example for 'FORGIT_CMD_FZF_OPTS' 2019-11-25 15:02:52 +08:00