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: 6d6b412da3
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8f0e9843bd
Choose a head ref
  • 6 commits
  • 16 files changed
  • 1 contributor

Commits on Apr 16, 2020

  1. help: move list_config_help to builtin/help

    Starting in 3ac68a9, help.o began to depend on builtin/branch.o,
    builtin/clean.o, and builtin/config.o. This meant that help.o was
    unusable outside of the context of the main Git executable.
    
    To make help.o usable by other commands again, move list_config_help()
    into builtin/help.c (where it makes sense to assume other builtin libraries
    are present).
    
    When command-list.h is included but a member is not used, we start to
    hear a compiler warning. Since the config list is generated in a fairly
    different way than the command list, and since commands and config
    options are semantically different, move the config list into its own
    header and move the generator into its own script and build rule.
    
    For reasons explained in 976aaed (msvc: add a Makefile target to
    pre-generate the Visual Studio solution, 2019-07-29), some build
    artifacts we consider non-source files cannot be generated in the
    Visual Studio environment, and we already have some Makefile tweaks
    to help Visual Studio to use generated command-list.h header file.
    Do the same to a new generated file, config-list.h, introduced by
    this change.
    
    Helped-by: Junio C Hamano <[email protected]>
    Signed-off-by: Emily Shaffer <[email protected]>
    nasamuffin authored and gitster committed Apr 16, 2020
    1 Configuration menu
    Copy the full SHA
    709df95 View commit details
    Browse the repository at this point in the history
  2. bugreport: add tool to generate debugging info

    Teach Git how to prompt the user for a good bug report: reproduction
    steps, expected behavior, and actual behavior. Later, Git can learn how
    to collect some diagnostic information from the repository.
    
    If users can send us a well-written bug report which contains diagnostic
    information we would otherwise need to ask the user for, we can reduce
    the number of question-and-answer round trips between the reporter and
    the Git contributor.
    
    Users may also wish to send a report like this to their local "Git
    expert" if they have put their repository into a state they are confused
    by.
    
    Signed-off-by: Emily Shaffer <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    nasamuffin authored and gitster committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    238b439 View commit details
    Browse the repository at this point in the history
  3. bugreport: gather git version and build info

    Knowing which version of Git a user has and how it was built allows us
    to more precisely pin down the circumstances when a certain issue
    occurs, so teach bugreport how to tell us the same output as 'git
    version --build-options'.
    
    It's not ideal to directly call 'git version --build-options' because
    that output goes to stdout. Instead, wrap the version string in a helper
    within help.[ch] library, and call that helper from within the bugreport
    library.
    
    Signed-off-by: Emily Shaffer <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    nasamuffin authored and gitster committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    617d571 View commit details
    Browse the repository at this point in the history
  4. bugreport: add uname info

    The contents of uname() can give us some insight into what sort of
    system the user is running on, and help us replicate their setup if need
    be. The domainname field is not guaranteed to be available, so don't
    collect it.
    
    Signed-off-by: Emily Shaffer <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    nasamuffin authored and gitster committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    1411914 View commit details
    Browse the repository at this point in the history
  5. bugreport: add compiler info

    To help pinpoint the source of a regression, it is useful to know some
    info about the compiler which the user's Git client was built with. By
    adding a generic get_compiler_info() in 'compat/' we can choose which
    relevant information to share per compiler; to get started, let's
    demonstrate the version of glibc if the user built with 'gcc'.
    
    Signed-off-by: Emily Shaffer <[email protected]>
    Helped-by: Đoàn Trần Công Danh <[email protected]>
    Helped-by: Johannes Schindelin <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    nasamuffin authored and gitster committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    69bcbbc View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. bugreport: drop extraneous includes

    In the generic parts of the source files, system headers like
    <time.h> and <stdio.h> are supposed to be included indirectly
    by including "git-compat-util.h", which manages portability issues.
    
    Drop our explicit inclusions and rely on "cache.h", which includes
    "git-compat-util.h".
    
    Signed-off-by: Emily Shaffer <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    nasamuffin authored and gitster committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8f0e984 View commit details
    Browse the repository at this point in the history
Loading