Benjamin Brittain
313670d3c2
Fixed missing quote in "jj config set" help
2023-08-16 14:57:48 -04:00
Emily Fox
9ba9ecd708
revset: add function mine()
2023-08-16 11:00:14 -05:00
Tal Pressman
32fef364ef
add error message when running from a non-existent directory
2023-08-15 09:00:42 +09:00
Piotr Kufel
a8b02de5c3
Allow editing user-specific config file outside of a repo
...
This addresses #2054 .
2023-08-13 11:35:56 -07:00
Zachary Dremann
062f7a252b
cli: Allow repeated -m
options for multi-paragraph descriptions
...
Emulates git's behavior:
https://www.git-scm.com/docs/git-commit#Documentation/git-commit.txt--mltmsggt
2023-08-13 05:06:35 -04:00
Yuya Nishihara
28633bb754
cli: fix --no-pager to persist across layered config loading
2023-08-12 13:47:31 +09:00
Ben Saunders
e563d60e64
Update docs and errors to use XDG config path
2023-08-11 13:21:44 -07:00
Matt Stavola
4760b565c5
configs: add the ability to disable paging via ui.paginate
2023-08-11 12:45:53 -04:00
Martin von Zweigbergk
d1dbe6de98
git: propagate errors for missing commits when importing refs
2023-08-11 05:06:36 +00:00
Yuya Nishihara
fb41ef4fa0
cli: handle invalid ui.editor configuration
2023-08-11 08:09:41 +09:00
Martin von Zweigbergk
32b07d6b79
cli: move default editor (pico
) definition to config file
2023-08-10 17:09:07 +00:00
Yuya Nishihara
b2101d15c8
cli: detect .git symlink as a colocated workspace
...
Maybe we could load GitBackend without resolving .git symlink, but that would
introduce more subtle bugs. Instead, we calculate the expected Git workdir path
from the canonical ".git" path.
Fixes #2011
2023-08-10 14:53:54 +09:00
Benjamin Saunders
7cf518a530
cli: don't call a safe function 'unsafe'
2023-08-08 20:42:19 -07:00
Austin Seipp
48fa821e60
cli: move src/ directory to new cli/ directory
...
Summary: In preparation for unifying all workspace dependencies across all
crates, let's go ahead and move the jj-cli crate into its own new directory.
This will also be a nicer and more uniform layout as we add new `jj-*` crates.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: Icf94e7ae5f290dc8e181215727b38ada
2023-08-04 19:00:42 -05:00