Skip to content

Change exit code when no commit results found - #7

Open
dehain wants to merge 4 commits into
niedbalski:masterfrom
dehain:change-exit-code
Open

Change exit code when no commit results found#7
dehain wants to merge 4 commits into
niedbalski:masterfrom
dehain:change-exit-code

Conversation

@dehain

@dehain dehain commented Feb 26, 2018

Copy link
Copy Markdown

No description provided.

Fixed indentation of line that was causing only the last fix to be
displayed.
Added a parameter (--no-fetch) that specifies to not attempt fetching
from the remote.  This is useful in situations where there
is no connectivity to the remote.
Added a parameter (--current-branch) that will use whatever the
currently checked out branch is rather than requiring the branch to be
specified or defaulting to master.
Changed error code when no results are found from returning (-1) to
simply returning 0.  I don't think that not finding results is an error
and this is an issue when I use this script with another script that
depends on the return code indicating success or failure.
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

Successfully merging this pull request may close these issues.

1 participant