Skip to content
Snippets Groups Projects
  • Mads Kiilerich's avatar
    3bff26f6
    rebase: improve error message for empty --source set · 3bff26f6
    Mads Kiilerich authored
    Before, it just said 'nothing to rebase' in this case. Now, it aborts
    mentioning the reason: 'empty "source" revision set'.
    
    Specifying revisions that cannot be rebased is a 'soft' error, but specifying
    an empty set deserves an abort that explains exactly what the problem is.
    3bff26f6
    History
    rebase: improve error message for empty --source set
    Mads Kiilerich authored
    Before, it just said 'nothing to rebase' in this case. Now, it aborts
    mentioning the reason: 'empty "source" revision set'.
    
    Specifying revisions that cannot be rebased is a 'soft' error, but specifying
    an empty set deserves an abort that explains exactly what the problem is.