KEMBAR78
Comparing 4dd0c4a44c...94a13806fb · git/git · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4dd0c4a44c
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 94a13806fb
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 22, 2018

  1. branch: make "-l" a synonym for "--list"

    The other "mode" options of git-branch have short-option
    aliases that are easy to type (e.g., "-d" and "-m"). Let's
    give "--list" the same treatment.
    
    This also makes it consistent with the similar "git tag -l"
    option.
    
    We didn't do this originally because "--create-reflog" was
    squatting on the "-l" option. Now that we've deprecated that
    use for long enough, we can make the switch.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    peff authored and gitster committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    a15d598 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. doc/git-branch: remove obsolete "-l" references

    The previous commit switched "-l" to meaning "--list", but a
    few vestiges of its prior meaning as "--create-reflog"
    remained:
    
      - the synopsis mentioned "-l" when creating a new branch;
        we can drop this entirely, as it has been the default
        for years
    
      - the --list command mentions the unfortunate "-l"
        confusion, but we've now fixed that
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    peff authored and gitster committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    94a1380 View commit details
    Browse the repository at this point in the history
Loading