David Barnett

Results 409 comments of David Barnett

Yeah, actually colocated repos already work (they're just a normal git repo with an extra .jj/ subdir). The others should be as trivial as adding an alternate gitdir path to...

Fair 😄 I'm involved with the jj project, so LMK if I can help here too with the research / coding.

Some relevant jj commands for reference... - Get most recent tag that's an ancestor of the working copy commit: `jj log --no-graph -r 'latest(ancestors(@) & tags())' -T tags` - Get...

K, this one-liner should spit out one or two lines of input to determine the necessary tag/commit metadata: ```shell $ jj log --no-graph \ -r 'latest(::@ ~ (empty() ~ tags()))'...

One way would be to run 2 separate commands, one to figure out the tag and another to find all newer commits: 1. `jj log -r 'latest(heads(::@ & tags()))' --no-graph...

> That might act funny when there are branched/merged commits, depending on what you mean by "distance"... Nice, I verified those commands seem correct and it gets the same count...

Instead of editing a temporary file copy, couldn't it just try validating the config after edit, print the validation error, and prompt for whether to reopen the same editor to...

Yeah, I'd imagined just leaving the invalid config saved as-is (for them to manually fix) if they don't want to reopen the editor but restoring a backup would be fine...

It's possible, but I'm not very familiar yet with how neovim hooks into lua and namespaces it. Any good examples you could point to? Ideally I'd want to see (a)...

Ah ok, like ```toml git_describe_command = ['git', 'describe', '--dirty', '--tags', '--long', '--match', SOME_PATTERN] ``` ? But then I guess it's hard-coded to only work on git repos, so it would...