1. 22 4月, 2008 4 次提交
  2. 21 4月, 2008 1 次提交
  3. 20 4月, 2008 1 次提交
  4. 19 4月, 2008 5 次提交
    • J
      gitweb: Fix 'history' view for deleted files with history · 5634cf24
      Jakub Narebski 提交于
      When asked for history of a file which is not present in given branch
      ("HEAD", i.e. current branch, or given by transient $hash_hase ('hb')
      parameter), but is present deeper in the history (meaning that "git
      rev-list --full-history $hash_base -- $file_name" is not empty), and
      there is no $hash ('h') parameter set for a file, gitweb would spew
      multiple of "Use of uninitialized value" warnings, and some links
      would be missing.  This commit fixes this bug.
      
      This bug occurs in the rare cases when "git log -- <path>" is empty
      and "git log --full-history -- <path>" is not, or to be more exact in
      the cases when full-history starts later than given branch.  It can
      happen if you are using handcrafted gitwb URL, or if you follow
      generic 'history' link or bookmark for a file which got deleted.
      
      Gitweb tried to get file type ('tree', or 'blob', or even 'commit')
      from the commit we start searching from (where the file was not
      present), and not among found commits.  This was the cause of "Use of
      uninitialized value" warnings.
      
      This commit also add tests for such situation to t9500 test.
      
      While we are it, return HTTP error if there is _no_ history; it means
      that file or directory was not found (for given branch).  Also error
      out if type of item could not be found: it should not happen now, but
      better be sure.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5634cf24
    • M
      Document that WebDAV doesn't need git on the server, and works over SSL · f01f8150
      Matthieu Moy 提交于
      I managed to set up a Git repository on a preconfigured WebDAV server,
      and using HTTPS, without installing Git on it or changing the server
      configuration. This works through a proxy too. This patch reflects
      this (it previously stated that Git was _necessary_ on the server,
      which isn't true). Also give a few hints to troubleshoting.
      Signed-off-by: NMatthieu Moy <Matthieu.Moy@imag.fr>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f01f8150
    • J
      Merge branch 'maint-1.5.4' into maint · 4c414e2e
      Junio C Hamano 提交于
      * maint-1.5.4:
        am: POSIX portability fix
      4c414e2e
    • J
      git-remote: reject adding remotes with invalid names · 24b6177e
      Jonas Fonseca 提交于
      This can happen if the arguments to git-remote add is switched by the
      user, and git would only show an error if fetching was also requested.
      Fix it by using the refspec parsing engine to check if the requested
      name can be parsed as a remote before add it.
      
      Also cleanup so that the "remote.<name>.url" config name buffer is only
      initialized once.
      Signed-off-by: NJonas Fonseca <fonseca@diku.dk>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      24b6177e
    • J
      am: POSIX portability fix · 29df2385
      Junio C Hamano 提交于
      POSIX allows echo without flag to interpret specials such as \n, and we
      tried to make things portable by using printf instead where it matters.
      Recently added code to "git am" had unprotected "echo", which was caught
      by t4014 and Rémi Vanicat.
      
      This should fix it.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      29df2385
  5. 17 4月, 2008 4 次提交
  6. 16 4月, 2008 7 次提交
  7. 15 4月, 2008 3 次提交
  8. 13 4月, 2008 7 次提交
  9. 12 4月, 2008 8 次提交