Commit Graph

149 Commits

Author SHA1 Message Date
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