Skip to content

Conversation

@Chemaclass
Copy link

Check list

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have added unit tests for my code
  • I have made corresponding changes to the documentation

Description

Closes: #475

Show informative messages when there is nothing to checkout:

  • checkout_file: "Nothing to checkout." when no modified files
  • checkout_tag: "Nothing to checkout: there are no tags."

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Test
  • Documentation change

Test environment

  • Shell
    • bash
    • zsh
    • fish
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:

Copy link

@JesusValeraDev JesusValeraDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coolio 😎

Copy link
Collaborator

@carlfriedrich carlfriedrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Chemaclass Good to see your here, thanks a lot for your contribution! PR looks clean, thumbs up for adding tests! 👍👍

Are you using forgit yourself?

I will keep this open for a few days in case some of the other maintainers like to comment. If no complaints come in, I will merge this next week.

Copy link
Collaborator

@sandr01d sandr01d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Chemaclass! Looks good, just a few minor things.

@Chemaclass Chemaclass requested a review from sandr01d December 7, 2025 13:35
@sandr01d
Copy link
Collaborator

sandr01d commented Dec 8, 2025

Thanks for the update @Chemaclass. I've merged #480, could you please rebase this PR so the CI can run successfully?

Chemaclass and others added 4 commits December 8, 2025 20:30
   Show informative messages when there is nothing to checkout:
   - checkout_file: "Nothing to checkout." when no modified files
   - checkout_tag: "Nothing to checkout: there are no tags."
Co-authored-by: sandr01d <88739791+sandr01d@users.noreply.github.com>
@Chemaclass Chemaclass force-pushed the feat/475-add-simiar-behaviour-for-empty-screen-for-all-commands branch from c613444 to ddb9ae2 Compare December 8, 2025 19:30
@Chemaclass
Copy link
Author

@sandr01d rebase done!

@sandr01d
Copy link
Collaborator

sandr01d commented Dec 8, 2025

Thanks. I think you might have missed my earlier comment. Once that's done, you have my approval 🙂

@Chemaclass Chemaclass force-pushed the feat/475-add-simiar-behaviour-for-empty-screen-for-all-commands branch from ee7ba1f to f188f37 Compare December 8, 2025 20:09
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.

Add similar behaviour for empty screen for all commands

4 participants