Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: create headless-git.exe to avoid foreground windows #304

Closed

Commits on Dec 29, 2020

  1. win32: add a helper to run git.exe without a foreground window

    On Windows, there are two kinds of executables, console ones and
    non-console ones. Git's executables are all console ones.
    
    When launching the former e.g. in a scheduled task, a CMD window pops
    up. This is not what we want for the tasks installed via the `git
    maintenance` command.
    
    To work around this, let's introduce `headless-git.exe`, which is a
    non-console program that does _not_ pop up any window. All it does is to
    re-launch `git.exe`, suppressing that console window, passing through
    all command-line arguments as-are.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho authored and derrickstolee committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    0c602c9 View commit details
    Browse the repository at this point in the history
  2. git maintenance: avoid console window in scheduled tasks on Windows

    We just introduced a helper to avoid showing a console window when the
    scheduled task runs `git.exe`. Let's actually use it.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho authored and derrickstolee committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    a7b10df View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. Configuration menu
    Copy the full SHA
    e31ee2f View commit details
    Browse the repository at this point in the history
  2. gvfs-helper-client: remove odb check

    This check verifies that the ODB matches what we supplied, but there are
    some subtleties around Windows path names that can cause inexact matches
    to be logically the same. Since this check is really intended only for
    debugging and development purposes, let's remove it for now as a quick
    workaround.
    
    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    6d020f0 View commit details
    Browse the repository at this point in the history