Stephan Dilly
ddd11156c6
prep release
2020-07-29 22:37:50 +02:00
Stephan Dilly
f83228548b
use new tag_foreach api
2020-07-22 01:54:22 +02:00
Stephan Dilly
6c798df40a
fix different way of internal git represenation of tags to work ( closes #206 )
2020-07-20 23:40:02 +02:00
Stephan Dilly
58a1719c98
fix problems with spawning too many async tasks underload ( #196 )
2020-07-18 13:57:08 +02:00
Stephan Dilly
0dd50b402e
upgrade to rust 1.45 and fix new clippy warnings
2020-07-17 11:54:12 +02:00
Christoph Rüßler
70423c5b83
Add command for tagging commit
2020-07-15 23:22:03 +02:00
Stephan Dilly
1afa91b144
show tags in commit details popup ( closes #193 )
2020-07-12 14:38:38 +02:00
Stephan Dilly
315cf615e0
Async tag fetching ( #195 )
2020-07-12 13:21:34 +02:00
Stephan Dilly
a84ae0950c
add_to_ignore
failed on files without a newline at EOF (closes #191 )
2020-07-10 11:25:00 +02:00
Stephan Dilly
cbd75110b7
add error handling on potential error in ignore ( #191 )
2020-07-10 09:08:36 +02:00
Stephan Dilly
fc142b4604
fix crashes in revlog with utf8 commit messages ( closes #188 )
2020-07-10 08:55:43 +02:00
Stephan Dilly
4f731f6acc
fix opening relative paths in external edtiro ( closes #184 )
2020-07-09 17:47:38 +02:00
Stephan Dilly
0f13ecc54e
inline
2020-07-09 09:20:59 +02:00
Stephan Dilly
cb3b968e3a
fix cutting commit msg in between utf8 clusters ( #188 )
2020-07-09 08:51:31 +02:00
Stephan Dilly
535b0cd103
little more documentation
2020-07-08 00:00:17 +02:00
Stephan Dilly
23fc0d9e59
pre release
2020-07-07 13:05:09 +02:00
Stephan Dilly
26f734c57d
fixed bin file size diff on untracked files ( closes #171 )
2020-07-07 09:42:34 +02:00
Stephan Dilly
02bd22d3b3
fix crash diffing stash created on cmd line ( closes #178 )
2020-07-07 09:10:10 +02:00
Stephan Dilly
05c2e2ab49
prepare for release
2020-07-04 20:35:55 +02:00
Stephan Dilly
a33db8d3de
cache branchname lookup ( closes #159 )
2020-07-04 18:12:54 +02:00
Stephan Dilly
a34bab22fa
show untracked files in stash commit details ( closes #130 )
2020-07-02 12:55:17 +02:00
Stephan Dilly
e803cb3afe
unneeded clones
2020-07-02 12:24:02 +02:00
Mehran Kordi
ea244b8cfa
fixed issue with utracked files.
2020-07-02 11:58:11 +02:00
Stephan Dilly
fb6cdb92ea
fix whitespace at commit-msg start breaking revlog alignment ( closes #158 )
2020-06-29 19:48:39 +02:00
Stephan Dilly
51d17b2596
prevent stacking up more and more status requests ( #156 )
2020-06-29 17:53:01 +02:00
Stephan Dilly
18c4d872d3
more debug logging
2020-06-29 16:03:35 +02:00
Stephan
738cf3fab4
try speeding up status (see #156 )
2020-06-29 14:11:23 +02:00
Stephan
4a442f3829
cleanup use
2020-06-29 12:30:10 +02:00
Stephan Dilly
80f98d6b6d
move commit into its own mod
...
# Conflicts:
# asyncgit/src/sync/utils.rs
2020-06-29 09:47:54 +02:00
Stephan Dilly
c856c23aef
remove outdated commit method
2020-06-29 09:46:38 +02:00
Stephan Dilly
97560564c9
run hooks from workdir and not from current dir ( closes #151 )
2020-06-25 08:14:43 +02:00
Stephan Dilly
b66d385a8f
sort order
2020-06-25 07:47:10 +02:00
Stephan Dilly
1028a51652
fix invalid utf8 in commit msg also for commit details (see #150 )
2020-06-24 16:08:46 +02:00
Stephan Dilly
fab5b6ea47
display lossy commit msg when containing invalid utf8 ( closes #150 )
2020-06-24 10:11:27 +02:00
Stephan Dilly
b01f716677
fix diff of commit not returning binary size
2020-06-22 22:03:45 +02:00
Stephan Dilly
76e52cc7a2
show file size diff for binary files ( #141 )
2020-06-22 20:01:04 +02:00
Stephan Dilly
19db19b010
add test for untracked files in stash bug ( #130 )
2020-06-15 23:40:09 +02:00
Stephan Dilly
9c2a31846c
version bump
2020-06-15 12:18:45 +02:00
Stephan Dilly
d67a240bc7
fix reset hunk in untracked file
2020-06-14 23:34:54 +02:00
Stephan Dilly
dfe284a45b
some cleanup
2020-06-14 11:27:23 +02:00
Stephan Dilly
24da2f200e
Reset individual hunks ( #125 )
...
closes #11
2020-06-14 10:46:25 +02:00
Stephan Dilly
5185f1c4d4
support commit amend ( #89 )
2020-06-13 01:50:39 +02:00
Stephan Dilly
63e449fca9
indicate what branch we are on ( closes #115 )
2020-06-12 22:37:53 +02:00
Stephan Dilly
43905cfa6b
cleanup TODO
2020-06-12 15:04:52 +02:00
Stephan Dilly
6ebe717fb1
remove some duplication in reset
2020-06-12 14:41:37 +02:00
Stephan Dilly
fdd84a8692
add test for ( #118 )
2020-06-12 13:17:06 +02:00
Stephan Dilly
7c0fe181fb
uprade libgit to fix reset of folder
2020-06-12 13:14:42 +02:00
Stephan Dilly
9301574624
fix reset file when running gitui in subfolder ( closes #118 )
2020-06-12 11:46:45 +02:00
Stephan Dilly
97dc800f2c
version bump
2020-06-09 18:06:56 +02:00
Stephan Dilly
9e1d8af264
request commit based diff async
2020-06-09 17:23:59 +02:00
Stephan Dilly
702415c40d
full commit detail popup ( #113 )
...
see #80
2020-06-09 13:30:17 +02:00
Stephan Dilly
5bfdb40a14
commit details in log ( #107 )
2020-06-06 19:24:48 +02:00
Stephan Dilly
bec1fb939a
show error instead of app close when staging fails ( #108 )
...
update changelog
2020-06-04 00:02:32 +02:00
Stephan Dilly
dbd7dd33ea
support Stage all
/Unstage all
( closes #82 )
2020-06-02 16:01:54 +02:00
Stephan Dilly
b7a104df56
version bump
2020-06-01 23:33:35 +02:00
Stephan Dilly
14a93cbefd
support adding file/folder to gitignore ( closes #44 )
2020-06-01 23:32:11 +02:00
Stephan Dilly
8643844913
expressive error msg when run in bare repo ( closes #100 )
2020-05-30 13:05:11 +02:00
Stephan Dilly
732690da1d
improve performance on diffing giant files ( #96 )
2020-05-29 09:44:11 +02:00
Igor Raits
85a3d93077
chore: Add LICENSE file into the sub-crates
...
Those are released separately on crates.io and they do not contain
LICENSE file now that is required when packaging them in Linux
distributions.
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-05-28 16:11:54 +02:00
Stephan Dilly
a2e17e0982
release prep
2020-05-25 16:21:53 +02:00
Stephan Dilly
63d3bf5661
Support stash-apply,stash-drop
2020-05-25 16:16:49 +02:00
Stephan Dilly
38413d069e
consistent log:: usage
2020-05-23 23:31:15 +02:00
Stephan Dilly
ad092823ff
deny panics
2020-05-23 17:17:39 +02:00
Mehran Kordi
4c17660956
anyhow integration ( closes #77 )
2020-05-23 17:12:38 +02:00
Stephan Dilly
2497c4fe9e
fix performance regression in revlog
2020-05-22 22:41:17 +02:00
Stephan Dilly
572be62b5f
cleanup having two AsyncStatus
2020-05-22 14:58:59 +02:00
Stephan Dilly
e271defc63
cleanup
2020-05-22 14:45:24 +02:00
Stephan Dilly
3b4a5b14d3
some clippy cargo fixes
2020-05-22 12:25:42 +02:00
Stephan Dilly
3c5e86eee9
stashing support ( #70 )
2020-05-21 15:46:38 +02:00
Stephan Dilly
f894ffb295
clippy fix
2020-05-20 18:11:48 +02:00
Stephan Dilly
51b14400db
log tab refreshes when head changes ( closes #78 )
2020-05-20 18:11:04 +02:00
Stephan Dilly
cdbed764ed
version bump
2020-05-20 12:01:46 +02:00
Stephan Dilly
1c03458de7
merge uses
2020-05-19 23:11:28 +02:00
Stephan Dilly
d43a7ad255
prep new release
2020-05-18 22:44:09 +02:00
Stephan Dilly
6723789189
bump version once more, have to yank 0.2.4 of asyncgit
2020-05-16 20:21:08 +02:00
Stephan Dilly
df413b5913
Merge branch 'master' of github.com:Extrawurst/gitui
2020-05-16 20:19:02 +02:00
Stephan Dilly
86c7e649f2
prep release
2020-05-16 20:18:33 +02:00
Stephan Dilly
8b096fb9e1
support multiple tags per commit ( #62 )
...
* support multiple tags per commit
* update changelog
* make sure clippy works in CI
2020-05-16 20:14:27 +02:00
Mehran Kordi
19a0cb2db6
Implement git hook support on windows
...
closes #14
2020-05-16 19:08:44 +02:00
Stephan Dilly
a5d5b3b916
allow longer messages in log view
2020-05-15 18:55:18 +02:00
Stephan Dilly
f8294dcb7b
cleanup some result return types
2020-05-15 18:23:07 +02:00
Mehran Kordi
03505b9eb6
Replace unwrap calls in asyncgit with error handling - closes #53
2020-05-15 15:15:26 +02:00
Stephan Dilly
3611a43b3e
bumop version
2020-05-12 14:12:01 +02:00
Stephan Dilly
5f08bd61e6
next version
2020-05-10 14:25:44 +02:00
Stephan Dilly
16aa6f7c50
support showing tags in log, speed up log by cloning less ( #47 )
2020-05-10 14:23:24 +02:00
Stephan Dilly
f3a67e878f
dont show weird 'no text file' when diffing binary
...
cleanup
2020-05-07 17:00:17 +02:00
Stephan Dilly
0e8d0e7f01
version bump
2020-05-05 13:55:41 +02:00
Stephan Dilly
871f2cf2c3
commit error handling
2020-05-05 13:54:43 +02:00
Stephan Dilly
1db1f00302
Log view ( #41 )
2020-05-05 13:47:21 +02:00
Stephan Dilly
4df7704ef5
clippy fixes
2020-05-02 16:58:13 +02:00
Stephan Dilly
7407d46557
fix diff binary file once more
2020-05-02 14:13:01 +02:00
Stephan Dilly
c0b48b8a51
fix "file not found" diff on binary files
2020-05-02 13:13:16 +02:00
Stephan Dilly
8f6a7bd330
fix rare showing of wrong diff
2020-05-01 22:24:18 +02:00
Stephan Dilly
87a37b9d89
raise version
2020-04-29 23:36:31 +02:00
Stephan Dilly
12cef5fccd
also use status fetching for spinner state
2020-04-29 23:33:44 +02:00
Stephan Dilly
f502c81187
spinner showing pending background work
2020-04-29 23:23:08 +02:00
Stephan Dilly
d48fdd2774
fix folder indenting when a file starting exactly like the folder exists next to it
2020-04-28 17:55:08 +02:00
Stephan Dilly
cbb1930fc2
prepare next version
2020-04-28 15:52:05 +02:00
Stephan Dilly
513486af9c
cleanup tests
2020-04-28 15:43:11 +02:00
Stephan Dilly
1ca04496cb
Add folder actions unstage/stage/reset
2020-04-28 15:43:11 +02:00
dependabot-preview[bot]
353971459c
Bump git2 from 0.13.4 to 0.13.5
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.4...0.13.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 09:16:23 +00:00
Stephan Dilly
b0fdf5049c
Switch to a tree view for changed files list ( #37 )
2020-04-28 11:15:05 +02:00
dependabot-preview[bot]
2311098a17
Bump git2 from 0.13.3 to 0.13.4
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.3...0.13.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 14:19:41 +02:00
dependabot-preview[bot]
cc19fca630
Bump git2 from 0.13.2 to 0.13.3
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.2...0.13.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 14:45:55 +02:00
Stephan Dilly
466de64acc
bump asyncgit
2020-04-21 19:40:45 +02:00
Stephan Dilly
53e4533c74
fix diff of newfile when cwd in subdir ( fixes #25 )
2020-04-18 18:53:15 +02:00
Stephan Dilly
e4b00adede
next asyncgit release
2020-04-18 11:26:25 +02:00
Stephan Dilly
73c650174f
fix staging removed files ( fixes #24 )
2020-04-18 11:25:03 +02:00
Stephan Dilly
6fa620eccd
more docs
2020-04-17 23:11:48 +02:00
Stephan Dilly
9a9fba433d
version bump
2020-04-17 16:10:49 +02:00
Stephan Dilly
33836c591d
always update status, not only when last update arrives
2020-04-17 16:09:31 +02:00
Stephan Dilly
75b729cca9
improve stage_add performance by simplification
2020-04-17 15:53:13 +02:00
Stephan Dilly
90f29a0b60
added tests
2020-04-17 15:43:42 +02:00
Stephan Dilly
7a479b1896
reduce git2 features and add musl build step
...
fix tabs
integrate linux musl builds in CD pipeline
2020-04-16 14:05:28 +02:00
Stephan Dilly
b0b1f7d86b
prep next version
2020-04-13 01:23:12 +02:00
Stephan Dilly
2a4372b248
docs
2020-04-10 19:18:58 +02:00
Stephan Dilly
ee44a44df4
prepare new version
2020-04-10 19:05:47 +02:00
Stephan Dilly
68f4a0791e
upgrade git2-rs
2020-04-10 19:04:55 +02:00
Stephan Dilly
d2d69063e3
cleanup
2020-04-09 12:05:42 +02:00
Stephan Dilly
b9ac1865db
support altering commit-msg on ok hook
2020-04-09 11:13:02 +02:00
Stephan Dilly
f144d97e0c
fix debug state ment leftover
2020-04-09 09:36:10 +02:00
Stephan Dilly
36ff0be9d1
support hooks: post-commit,commit-msg ( #15 )
...
* support hooks: post-commit and commit-msg
* some unittests
* exclude tests on windows for now
2020-04-09 09:23:59 +02:00
Stephan Dilly
387b8748b1
better naming
2020-04-08 00:21:08 +02:00
Stephan Dilly
b71f39fbb3
Support stage/unstage hunk
2020-04-08 00:21:08 +02:00
Stephan Dilly
f74d41a445
fix committing in empty repo
2020-04-05 19:50:11 +02:00
Stephan Dilly
b4f10c06ac
fix crash when unstaging file in empty repo
2020-04-05 19:30:59 +02:00
Stephan Dilly
6392778c09
fix one crash on empty repo (diffing)
2020-04-05 18:43:52 +02:00
Stephan Dilly
0657da58db
unittest for commiting
2020-04-05 15:39:02 +02:00
Stephan Dilly
e457e60c27
prepare release
2020-04-03 23:37:11 +02:00
Stephan Dilly
e51609ed91
fix crash running outside of git repo
2020-04-03 23:32:17 +02:00
Stephan Dilly
73e9029df4
simplify reset_workdir ( #6 )
2020-03-30 19:25:52 +02:00
Stephan Dilly
8d1cc3eec6
test resetting workdir part of untracked stages file
2020-03-29 16:03:35 +02:00
Stephan Dilly
9cfc4a549a
remove dbg
2020-03-28 21:03:54 +01:00
Stephan Dilly
aea8725d1a
reset: simply delete files if they are new/untracked
2020-03-28 21:03:32 +01:00
Stephan Dilly
3e5bf53bb9
unneeded cargo.lock
2020-03-28 20:23:07 +01:00
Stephan Dilly
99fc7a7b32
fix test
2020-03-28 19:47:25 +01:00
Stephan Dilly
6ca1eb05e8
fix crash on broken symlinks
2020-03-28 19:23:48 +01:00
Stephan Dilly
c9cd018394
better thread panic error message
2020-03-28 14:20:23 +01:00
Stephan Dilly
41a52cfc8c
more clean solution that does not need git cli
...
* make test run in parallel again
* better test structure
2020-03-28 13:45:19 +01:00
Stephan Dilly
96b739c977
remove debug statement
2020-03-27 23:16:17 +01:00
Stephan Dilly
16d0ae4b8f
fix path quotation marks
2020-03-27 23:09:07 +01:00
Stephan Dilly
edce2dec12
fix clippy
2020-03-27 23:01:00 +01:00
Stephan Dilly
4fa90bfc40
diagnose win test error
2020-03-27 22:46:25 +01:00
Stephan Dilly
c455f3e316
fix working dir checkout (revert)
2020-03-27 22:10:56 +01:00
Stephan Dilly
b1f8914cba
clamp scroll position to valid range
2020-03-27 09:49:57 +01:00
Stephan Dilly
3909d4c591
next release
2020-03-27 01:57:08 +01:00
Stephan Dilly
68d8d47c62
fix clippy warning
2020-03-27 01:15:00 +01:00
Stephan Dilly
8e7d2eb4a1
fix more clippy
2020-03-27 01:11:15 +01:00
Stephan Dilly
bc908ee049
fail on clippy warnings
2020-03-27 00:50:02 +01:00
Stephan Dilly
37da79233a
fix tons of clippy warnings
2020-03-26 23:45:52 +01:00
Stephan Dilly
0dce256f80
stricter warning leves
2020-03-26 13:26:40 +01:00
Stephan Dilly
a60c3b2eb0
fetch file diff based on hunks
2020-03-25 23:47:39 +01:00
Stephan Dilly
3ccd6dd07a
prepare new publish
2020-03-25 15:42:41 +01:00
Stephan Dilly
d52308ea0a
update diff if changed externally
2020-03-25 15:36:57 +01:00
Stephan Dilly
96b2b30052
forbid unsafe/undoc'd
2020-03-24 22:21:53 +01:00
Stephan Dilly
c92bfe3865
some more cargo fixes
2020-03-24 21:22:56 +01:00
Stephan Dilly
cc7dd021cc
pin version of path dependencie
2020-03-24 21:21:37 +01:00
Stephan Dilly
28934cfcd1
more crates publish prep
2020-03-24 21:20:06 +01:00
Stephan Dilly
79284469e3
fix diff of untracked file in sub dir
2020-03-24 18:02:58 +01:00
Stephan Dilly
cf4c4721dc
suport resetting untracked files
2020-03-24 09:55:51 +01:00
Stephan Dilly
b380d0964a
cleanup
2020-03-23 13:56:54 +01:00
Stephan Dilly
4730a8f498
show diff of new untracked files
2020-03-23 13:55:59 +01:00
Stephan Dilly
4fdf09fc56
make git status fetching async
2020-03-23 11:42:50 +01:00
Stephan Dilly
d7001a88a3
cleanup
2020-03-23 00:59:23 +01:00
Stephan Dilly
b0b9fb570d
better asyncgit crate structure
2020-03-23 00:50:55 +01:00
Stephan Dilly
08a8e07322
cleanup
2020-03-23 00:17:29 +01:00
Stephan Dilly
9580f8b489
move all git method in crate, reduce main deps
2020-03-23 00:14:57 +01:00
Stephan Dilly
491fca6926
reduce dependencies
2020-03-22 23:53:14 +01:00
Stephan Dilly
f4dc2de961
make libgit diffing async
2020-03-22 21:08:48 +01:00