@@ -334,7 +334,7 @@ Macros are not saved in transaction log (expanded before saving).
334
334
* What value is returned depends on each operator's `InvertExpr()`
335
335
implementation.
336
336
337
- * `["$expand-macro ", expr Value] Value`
337
+ * `["$eval ", expr Value] Value`
338
338
* Evaluate `expr` at parsing time.
339
339
This is useful to save evaluated value to transaction log,
340
340
instead of its expression.
@@ -416,9 +416,9 @@ Macros are not saved in transaction log (expanded before saving).
416
416
{target_hash}`
417
417
* It does nothing for bare git repository.
418
418
* e.g.
419
- * ` [" repos/git/update" , " github.com/tyru/caw.vim" , [" $expand-macro " , [" repos/git/rev-parse" , " HEAD" , " github.com/tyru/caw.vim" ]], [" $expand-macro " , [" repos/git/fetch" , " github.com/tyru/caw.vim" ]]]`
419
+ * ` [" repos/git/update" , " github.com/tyru/caw.vim" , [" $eval " , [" repos/git/rev-parse" , " HEAD" , " github.com/tyru/caw.vim" ]], [" $eval " , [" repos/git/fetch" , " github.com/tyru/caw.vim" ]]]`
420
420
* To save evaluated hash string in transaction log instead of its
421
- expression, apply ` $expand-macro ` to ` repos/git/fetch` expression.
421
+ expression, apply ` $eval ` to ` repos/git/fetch` expression.
422
422
* ` [" $invert" , [" repos/git/update" , path, target_hash, prev_hash]]` = ` [" repos/git/update" , [" $invert" , path], [" $invert" , prev_hash], [" $invert" , target_hash]]`
423
423
424
424
* ` [" repos/git/rev-parse" , str string , path ReposPath ] hash string `
0 commit comments