this repo has no description

[jj] fix multi-remote bug in `jj push`

without checking the value of `remote`, we would print `main` once for
each remote, sometimes causing an attempt to track the (non-existent)
bookmark named `mainmain` due to the remotes `origin` and `tangled`.

Changed files
+1 -1
private_dot_config
private_jj
+1 -1
private_dot_config/private_jj/config.toml
··· 77 77 [[ -n "$pushable" ]] && jj git push || echo "Nothing to push." 78 78 closest="$(jj log -r 'closest_bookmark(@)' -n 1 -T 'bookmarks' --no-graph | cut -d ' ' -f 1)" 79 79 closest="${closest%\\*}" 80 - tracked="$(jj bookmark list -r ${closest} -t -T 'if(remote, name)')" 80 + tracked="$(jj bookmark list -r ${closest} -t -T 'if(remote == "origin", name)')" 81 81 [[ "$tracked" == "$closest" ]] || jj bookmark track "${closest}@origin" 82 82 """] 83 83