Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git log -50 --pretty=oneline --abbrev-commit shows only 1 commit message instead of 50 on GitHub Action #21732

Closed
4 tasks done
mls6kor opened this issue Dec 15, 2023 · 0 comments

Comments

@mls6kor
Copy link

mls6kor commented Dec 15, 2023

New Issue Checklist

Issue Description

I am trying to extract commit messages from last 50 commits for further processing. On my local machine I can print all last 50 commit messages. But to my surprise on GitHub Action it prints only 1 ending with \n.

Command executed

puts %x{git log -50 --pretty=oneline --abbrev-commit}.inspect

Complete output when running fastlane, including the stack trace and command used

"logging commits for further processing\n"

 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

 | Key                         | Value                                                           |
| --------------------------- | --------------------------------------------------------------- |
| OS                          | debian_based bookworm/sid                                       |
| Ruby                        | 2.7.8                                                           |
| Bundler?                    | false                                                           |
| Git                         | git version 2.43.0                                              |
| Installation Source         | /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/fastlane                |
| Host                        | Ubuntu 22.04.3 LTS debian_based bookworm/sid (6.2.0-1018-azure) |
| Ruby Lib Dir                | /opt/hostedtoolcache/Ruby/2.7.8/x64/lib                         |
| OpenSSL Version             | OpenSSL 1.1.1t  7 Feb 20[23](https://github.com/xyz/xyz/actions/runs/7226981448/job/19693722550#step:8:24)                                      |
| Is contained                | false                                                           |
| Is homebrew                 | false                                                           |
| Is installed via Fabric.app | false                                                           | 
@mls6kor mls6kor closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant