1. 23 4月, 2008 3 次提交
  2. 22 4月, 2008 5 次提交
  3. 21 4月, 2008 1 次提交
  4. 20 4月, 2008 1 次提交
  5. 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
  6. 17 4月, 2008 4 次提交
  7. 16 4月, 2008 7 次提交
  8. 15 4月, 2008 3 次提交
  9. 13 4月, 2008 7 次提交
  10. 12 4月, 2008 4 次提交
    • J
      Merge branch 'maint-1.5.4' into maint · eed81838
      Junio C Hamano 提交于
      * maint-1.5.4:
        bisect: fix bad rev checking in "git bisect good"
        revision.c: make --date-order overriddable
        Fix section about backdating tags in the git-tag docs
        Document option --only of git commit
        Documentation/git-request-pull: Fixed a typo ("send" -> "end")
      eed81838
    • C
      bisect: fix bad rev checking in "git bisect good" · e3389075
      Christian Couder 提交于
      It seems that "git bisect good" and "git bisect skip" have never
      properly checked arguments that have been passed to them. As soon
      as one of them can be parsed as a SHA1, no error or warning would
      be given.
      
      This is because 'git rev-parse --revs-only --no-flags "$@"' always
      "exit 0" and outputs all the SHA1 it can found from parsing "$@".
      
      This patch fix this by using, for each "bisect good" argument, the
      same logic as for the "bisect bad" argument.
      
      While at it, this patch teaches "bisect bad" to give a meaningfull
      error message when it is passed more than one argument.
      
      Note that if "git bisect good" or "git bisect skip" is given some
      proper revs and then something that is not a proper rev, then the
      first proper revs will still have been marked as "good" or "skip".
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e3389075
    • M
      revision.c: make --date-order overriddable · a710522b
      Michele Ballabio 提交于
      Jan Engelhardt noticed that while --topo-order can be overridden by a
      subsequent --date-order, the reverse was not possible. That's because
      setup_revisions() failed to set revs->lifo properly.
      Signed-off-by: NMichele Ballabio <barra_cuda@katamail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a710522b
    • P
      git-submodule: Avoid 'fatal: cannot describe' message · a68972c2
      Ping Yin 提交于
      When "git submodule status" command tries to show the name of the
      submodule HEAD revision more descriptively, but the submodule
      repository lacked a suitable tag to do so, it leaked "fatal: cannot
      describe" message to the UI.  Squelch it by using '--always'.
      Signed-off-by: NPing Yin <pkufranky@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a68972c2