Fossil SCM

Reverse the output order for the "fossil stash list" command so that the most resent stashes are near the bottom, rather than scrolling off the top of the screen.

drh 2014-10-20 16:31 trunk
Commit cf9eac3929ff5e8b10ddb6b29d64720e27517205
1 file changed +1 -1
+1 -1
--- src/stash.c
+++ src/stash.c
@@ -534,11 +534,11 @@
534534
}
535535
verify_all_options();
536536
db_prepare(&q,
537537
"SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
538538
" comment, datetime(ctime) FROM stash"
539
- " ORDER BY ctime DESC"
539
+ " ORDER BY ctime"
540540
);
541541
if( verboseFlag ){
542542
db_prepare(&q2, "SELECT isAdded, isRemoved, origname, newname"
543543
" FROM stashfile WHERE stashid=$id");
544544
}
545545
--- src/stash.c
+++ src/stash.c
@@ -534,11 +534,11 @@
534 }
535 verify_all_options();
536 db_prepare(&q,
537 "SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
538 " comment, datetime(ctime) FROM stash"
539 " ORDER BY ctime DESC"
540 );
541 if( verboseFlag ){
542 db_prepare(&q2, "SELECT isAdded, isRemoved, origname, newname"
543 " FROM stashfile WHERE stashid=$id");
544 }
545
--- src/stash.c
+++ src/stash.c
@@ -534,11 +534,11 @@
534 }
535 verify_all_options();
536 db_prepare(&q,
537 "SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
538 " comment, datetime(ctime) FROM stash"
539 " ORDER BY ctime"
540 );
541 if( verboseFlag ){
542 db_prepare(&q2, "SELECT isAdded, isRemoved, origname, newname"
543 " FROM stashfile WHERE stashid=$id");
544 }
545

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button