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.
Commit
cf9eac3929ff5e8b10ddb6b29d64720e27517205
Parent
43b30dcfc330ba9…
1 file changed
+1
-1
+1
-1
| --- src/stash.c | ||
| +++ src/stash.c | ||
| @@ -534,11 +534,11 @@ | ||
| 534 | 534 | } |
| 535 | 535 | verify_all_options(); |
| 536 | 536 | db_prepare(&q, |
| 537 | 537 | "SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid)," |
| 538 | 538 | " comment, datetime(ctime) FROM stash" |
| 539 | - " ORDER BY ctime DESC" | |
| 539 | + " ORDER BY ctime" | |
| 540 | 540 | ); |
| 541 | 541 | if( verboseFlag ){ |
| 542 | 542 | db_prepare(&q2, "SELECT isAdded, isRemoved, origname, newname" |
| 543 | 543 | " FROM stashfile WHERE stashid=$id"); |
| 544 | 544 | } |
| 545 | 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 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 |