File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -304,8 +304,11 @@ jjfzf_describe_commit()
304304 CONFIG=()
305305 if test true == $( jj --no-pager --ignore-working-copy log --no-graph \
306306 -r " $REV " -T ' self.parents().len() > 1' ) ; then
307- QMSG=$( $JJFZF_ABSPATHLIB /draft.sh " $REV " | jjfzf_config_quote)
308- CONFIG+=(--config=" template-aliases.default_commit_description=$QMSG " )
307+ echo ' [template-aliases]' > $JJFZF_TEMPD /descdraft.toml
308+ echo -n " default_commit_description=" >> $JJFZF_TEMPD /descdraft.toml
309+ $JJFZF_ABSPATHLIB /draft.sh " $REV " |
310+ jjfzf_config_quote ' ' ' ' >> $JJFZF_TEMPD /descdraft.toml
311+ CONFIG+=( --config-file $JJFZF_TEMPD /descdraft.toml )
309312 fi
310313 export JJFZF_EDITOR=" ${JJ_EDITOR-} " # preserve user setting
311314 export JJ_EDITOR=" $JJFZF_ABSPATHLIB /editor.sh" # wrapper that rejects non-edits
You can’t perform that action at this time.
0 commit comments