We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8864e86 commit 3cf117bCopy full SHA for 3cf117b
1 file changed
src/datomic/codeq/core.clj
@@ -358,12 +358,11 @@
358
"Returns log as [[sha msg] ...], in commit order. commit-name may be nil
359
or any acceptable commit name arg for git log"
360
[commit-name]
361
- (let [commits (with-open [s (exec-stream (str "git log --pretty=oneline " commit-name))]
362
- (reverse
363
- (mapv
364
- #(vector (subs % 0 40)
365
- (subs % 41 (count %)))
366
- (line-seq s))))]
+ (let [commits (with-open [s (exec-stream (str "git log --pretty=oneline --date-order --reverse" commit-name))]
+ (mapv
+ #(vector (subs % 0 40)
+ (subs % 41 (count %)))
+ (line-seq s)))]
367
commits))
368
369
(defn unimported-commits
0 commit comments