1
0

6 Коммитууд db6d8b86ad ... 24e39aa103

Эзэн SHA1 Мессеж Огноо
  raylu 24e39aa103 valdera specifics 10 сар өмнө
  raylu 505efa1e8b macos tweaks 3 жил өмнө
  raylu 05132e5265 jj s 1 өдөр өмнө
  raylu d72cbc0791 jj: check first line using .lines() 8 сар өмнө
  raylu db6d8b86ad valdera specifics 10 сар өмнө
  raylu 341516f8b5 macos tweaks 3 жил өмнө
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      config/jj/config.toml

+ 2 - 1
config/jj/config.toml

@@ -30,6 +30,7 @@ d = ['diff']
 l = ['log', '-r', 'ancestors((trunk()..@):: | heads(mutable()), 2) | roots(immutable()..)- | bookmarks()', '-T', 'log_medium']
 ll = ['log', '-r', 'ancestors(present(@) | present(trunk()) | bookmarks() | tracked_remote_bookmarks() | visible_heads(), 2)']
 ls = ['log', '-r', '..(@ | present(trunk()))', '-T', 'builtin_log_compact_full_description']
+s = ['show', '@-']
 tug = ['bookmark', 'move', '--from', 'closest_bookmark(@)', '--to', 'closest_pushable(@)']
 
 [revset-aliases]
@@ -58,7 +59,7 @@ if(root,
       separate(" ",
         if(empty, label("empty", "(empty)")),
         if(description,
-          description.first_line() ++ if(description.first_line().len() < description.trim_end().len(),
+          description.first_line() ++ if(description.lines().len() > 1,
             label("rest", "\n\t" ++ description.substr(description.first_line().len() + 2, -1).first_line())
           ),
           label(if(empty, "empty"), description_placeholder),