Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This was a bug when a box decoration was subsequently drawn since the
decoration enclosed pending content in the output buffer.
|
|
* Fix typo in publishing build job
This prevented the cross-compilation targets from using the `cross`
binary for the compilation.
The script evaluated with `${{ matrix.job.cross }}` to:
```
if [[ "" == "true" ]]; then
cross build --release --target x86_64-unknown-linux-musl
else
cargo build --release --target x86_64-unknown-linux-musl
fi
```
The correct result for `${{ matrix.job.use-cross }}` is:
```
if [[ "true" == "true" ]]; then
cross build --release --target x86_64-unknown-linux-musl
else
cargo build --release --target x86_64-unknown-linux-musl
fi
```
* Restore previously failed cross-compilation targets
- Revert "Delete the remaining failing cross-compilation target"
This reverts commit 2937f3277a10d660bdb920ee6d5b9f033f6d97ef.
- Revert "Delete another failing cross-compilation target"
This reverts commit 4af8adf580818b57baa062bb7cd89a1cb72f1fbb.
- Revert "Delete i686-unknown-linux-gnu job"
This reverts commit eebddddb0a8c41f1225d9cd9a50d70128642623f.
- Revert "Delete arm-unknown-linux-gnueabihf job"
This reverts commit 9a2fa348eb4470a73790cc24320f1964783264c4.
|
|
Fixes #1408
|
|
|
|
https://github.com/dandavison/delta/actions/runs/5160503594/jobs/9296619624
|
|
|
|
https://github.com/dandavison/delta/actions/runs/5160467636/jobs/9296549493
|
|
|
|
Build failure
https://github.com/dandavison/delta/actions/runs/5160397593/jobs/9296411455
|
|
|
|
error occurred: Failed to find tool. Is `arm-linux-gnueabihf-gcc`
installed?
https://github.com/dandavison/delta/actions/runs/5160233910/jobs/9296084928
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Self-explanatory.
|
|
* Move tabs logic into utils
* Re-use buffer returned by tabs::expand
* Add TabCfg to configure tabs
Use the String from this config for the tab replacement. This avoids
creating a new String for each processed line.
* Avoid unicode segmentation for each line just to remove a prefix
In some code paths no prefix is removed, and in almost all other
cases the prefix is just ascii.
This simplifies a lot of calls.
* Set default tab with to 8
Editors like vim, emacs, nano and most terminal emulators set
this value as the default tab display width.
|
|
|
|
|
|
|
|
Fix #137
|
|
Added support for an optional -dirty hash suffix which is present
in `git diff` output when files were changed in a submodule.
|
|
The `error_chain` crate is now deprecated for a long time and `anyhow`
has proven to be a popular replacement for applications.
This also improves the current error messages for panics.
```
PAGER='"less' git show
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: \
Error(Msg("Could not parse pager command."), State { next_error: Some(ParseError), \
backtrace: InternalBacktrace })', src/main.rs:136:88
```
```
PAGER='"less' git show
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Could not parse pager command.
Caused by:
missing closing quote', src/main.rs:125:88
```
|
|
|
|
- Only trigger the build if the book has changed.
- Split the job into `build` and `deploy` with specific permissions.
- Don't build documentation for dependencies.
- Deploy to GitHub Pages directly without going through the `gh-pages`
branch.
|
|
The versions 2.3+ added support for Tokio's `AsyncBufRead` trait and
futures' `Stream` trait without making the new dependencies optional.
By downgrading `bytelines`, the compilation time can be reduced.
```
$ cargo up -p bytelines --precise 2.2.2
Updating bytelines v2.4.0 -> v2.2.2
Removing bytes v1.4.0
Removing futures v0.3.26
Removing futures-channel v0.3.26
Removing futures-core v0.3.26
Removing futures-executor v0.3.26
Removing futures-io v0.3.26
Removing futures-macro v0.3.26
Removing futures-sink v0.3.26
Removing futures-task v0.3.26
Removing futures-util v0.3.26
Removing pin-project-lite v0.2.9
Removing pin-utils v0.1.0
Removing slab v0.4.8
Removing tokio v1.26.0
```
|
|
|
|
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
|
|
The `Clone`, `Copy`, `Debug` and `PartialEq` traits are no longer
derived automatically by the macro.
|
|
|
|
|
|
|
|
|
|
Fixes #1316
|
|
|
|
The `try_create_from_path` function and the `from_path` function for
tests can be merged into a single function.
|
|
* Add discord-dark theme
A theme that formats diffs for posting to Discord, using Discord's limited custom ANSI colours
* Add spacing and author tag
* Update themes.gitconfig
Co-authored-by: nickelc <constantin.nickel@gmail.com>
* Remove unneeded entries from discord-dark theme
---------
Co-authored-by: nickelc <constantin.nickel@gmail.com>
|
|
|
|
Plain links need to be enclosed in `<>` to linkify them.
|
|
* Add Tips & tricks section to manual
* Clean up manual
* Reorganize Tips & tricks
|
|
The `GitConfigEntry` enum has been removed from the module and now only
contains the `GitRemoteRepo` type.
|
|
|
|
|
|
* Add Winget installation in the docs
* Add GitHub actions to Dependabot
* Add Winget Releaser workflow
|
|
* feat: Added config option.
|