Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 18, 2015
  1. @dscho

    Merge pull request #330 from ethomson/poll_inftim

    dscho authored
    poll: honor the timeout on Win32
  2. @ethomson

    poll: honor the timeout on Win32

    ethomson authored
    Ensure that when passing a pipe, the gnulib poll replacement will not
    return 0 before the timeout has passed.
    
    Not obeying the timeout (and merely returning 0) causes pathological
    behavior when preparing a packfile for a repository and taking a
    long time to do so.  If poll were to return 0 immediately, this would
    cause keep-alives to get sent as quickly as possible until the packfile
    was created.  Such deviance from the standard would cause megabytes (or
    more) of keep-alive packets to be sent.
    
    GetTickCount is used as it is efficient, stable and monotonically
    increasing.  (Neither GetSystemTime nor QueryPerformanceCounter have
    all three of these properties.)
Commits on Mar 7, 2015
  1. @dscho

    Merge pull request #323 from cloudchou/master

    dscho authored
    git gui: handle Git's output encoding correctly
  2. @kblees @cloudchou

    git-gui:handle the encoding of Git's output correctly

    kblees authored cloudchou committed
    if we use 'eval exec $opt $cmdp $args' to execute git command,
    tcl engine will convert the output of the git comand with the rule
    system default code page to unicode.
    But cp936 -> unicode conversion implicitly done by exec is not reversible.
    So we have to use git_read instead.
    
    Bug report and an original reproducer by Cloud Chou:
    #302
    
    Karsten Blees writes this code patch.
    Cloud Chou find the reason of the bug.
    
    Thanks-to: dscho
    Thanks-to: patthoyts
    Signed-off-by: Karsten Blees <blees@dcon.de>
    Original-test-by: Cloud Chou <515312382@qq.com>
    Signed-off-by: Cloud Chou <515312382@qq.com>
Commits on Nov 28, 2014
  1. @dscho

    Merge pull request #285 from dscho/readme

    dscho authored
    Update README.md
  2. @dscho

    Remove the dysfunctional link to tip4commit

    dscho authored
    Due to the lack of donations, tip4commit removed us from their list.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  3. @dscho

    README: Git for Windows is currently switching to the Git for Windows…

    dscho authored
    … SDK
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Commits on Sep 2, 2014
  1. @dscho

    Merge pull request #239 from sschuberth/taskkill

    dscho authored
    git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows
Commits on Aug 29, 2014
  1. @sschuberth

    git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows

    sschuberth authored
    Windows does not necessarily mean Cygwin, it could also be MSYS. The
    latter ships with a version of "kill" that does not understand "-f". In
    msysgit this was addressed shipping Cygwin's version of kill.
    
    Properly fix this by using the stock Windows "taskkill" command instead,
    which is available since Windows XP Professional.
    
    Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Commits on Aug 16, 2014
  1. @kblees

    Merge pull request #231 from kblees/kb/msysgit-2.1.0

    kblees authored
    Rebasing merge to Git v2.1.0
  2. @kblees

    fixup! remote-helper: check helper status after import/export

    kblees authored
    One effect of checking the remote helper status is that SPI exit codes no
    longer bubble up to the porcelain layer - so we shouldn't test for this.
    
    Signed-off-by: Karsten Blees <blees@dcon.de>
  3. @kblees

    Merge pull request #122 from kblees/kb/long-paths-v2

    kblees authored
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  4. @kblees
  5. @kblees

    Merge pull request #181 from kasal/tests-no-posix

    kblees authored
    Revert "test: fix t7001 cp to use POSIX options"
  6. @kblees

    Merge remote-tracking branch 't-b/sideband-bug'

    kblees authored
    This will allow us to work around the push issues pointed out in
    #101.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  7. @kblees

    Merge pull request #115 from msysgit/tip4commit

    kblees authored
    Mention tip4commit
  8. @kblees

    Merge 'fix-is-exe' into HEAD

    kblees authored
  9. @kblees

    Merge 'fix-externals' into HEAD

    kblees authored
  10. @kblees
  11. @kblees

    Merge 'remote-hg-prerequisites' into HEAD

    kblees authored
    These fixes were necessary for Sverre Rabbelier's remote-hg to work,
    but for some magic reason they are not necessary for the current
    remote-hg. Makes you wonder how that one gets away with it.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  12. @kblees
  13. @kblees

    Merge branch 'some-CR-fixes'

    kblees authored
    This branch contains some hacks so that Git produces less CR, and then
    some tests.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  14. @kblees
  15. @kblees
  16. @kblees

    Merge 'gitweb-syntax' into HEAD

    kblees authored
  17. @kblees

    Merge 'gitk' into HEAD

    kblees authored
  18. @kblees

    Merge 'git-gui' into HEAD

    kblees authored
  19. @kblees
  20. @kblees
  21. @kblees

    Merge 'am-submodules' into HEAD

    kblees authored
  22. @kblees

    Merge 'hide-dotgit' into HEAD

    kblees authored
  23. @kblees

    Merge 'unicode' into HEAD

    kblees authored
  24. @kblees
  25. @kblees

    Win32: fix 'lstat("dir/")' with long paths

    kblees authored
    Use a suffciently large buffer to strip the trailing slash.
    
    Signed-off-by: Karsten Blees <blees@dcon.de>
  26. @kblees

    Win32: support long paths

    kblees authored
    Windows paths are typically limited to MAX_PATH = 260 characters, even
    though the underlying NTFS file system supports paths up to 32,767 chars.
    This limitation is also evident in Windows Explorer, cmd.exe and many
    other applications (including IDEs).
    
    Particularly annoying is that most Windows APIs return bogus error codes
    if a relative path only barely exceeds MAX_PATH in conjunction with the
    current directory, e.g. ERROR_PATH_NOT_FOUND / ENOENT instead of the
    infinitely more helpful ERROR_FILENAME_EXCED_RANGE / ENAMETOOLONG.
    
    Many Windows wide char APIs support longer than MAX_PATH paths through the
    file namespace prefix ('\\?\' or '\\?\UNC\') followed by an absolute path.
    Notable exceptions include functions dealing with executables and the
    current directory (CreateProcess, LoadLibrary, Get/SetCurrentDirectory) as
    well as the entire shell API (ShellExecute, SHGetSpecialFolderPath...).
    
    Introduce a handle_long_path function to check the length of a specified
    path properly (and fail with ENAMETOOLONG), and to optionally expand long
    paths using the '\\?\' file namespace prefix. Short paths will not be
    modified, so we don't need to worry about device names (NUL, CON, AUX).
    
    Contrary to MSDN docs, the GetFullPathNameW function doesn't seem to be
    limited to MAX_PATH (at least not on Win7), so we can use it to do the
    heavy lifting of the conversion (translate '/' to '\', eliminate '.' and
    '..', and make an absolute path).
    
    Add long path error checking to xutftowcs_path for APIs with hard MAX_PATH
    limit.
    
    Add a new MAX_LONG_PATH constant and xutftowcs_long_path function for APIs
    that support long paths.
    
    While improved error checking is always active, long paths support must be
    explicitly enabled via 'core.longpaths' option. This is to prevent end
    users to shoot themselves in the foot by checking out files that Windows
    Explorer, cmd/bash or their favorite IDE cannot handle.
    
    Test suite:
    Test the case is when the full pathname length of a dir is close
    to 260 (MAX_PATH).
    Bug report and an original reproducer by Andrey Rogozhnikov:
    #122 (comment)
    
    Thanks-to: Martin W. Kirst <maki@bitkings.de>
    Thanks-to: Doug Kelly <dougk.ff7@gmail.com>
    Signed-off-by: Karsten Blees <blees@dcon.de>
    Original-test-by: Andrey Rogozhnikov <rogozhnikov.andrey@gmail.com>
    Signed-off-by: Stepan Kasal <kasal@ucw.cz>
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Something went wrong with that request. Please try again.