Skip to content
  • Junio C Hamano's avatar
    Merge branch 'dt/cat-file-follow-symlinks' · 67f0b6f3
    Junio C Hamano authored
    "git cat-file --batch(-check)" learned the "--follow-symlinks"
    option that follows an in-tree symbolic link when asked about an
    object via extended SHA-1 syntax, e.g. HEAD:RelNotes that points at
    Documentation/RelNotes/2.5.0.txt.  With the new option, the command
    behaves as if HEAD:Documentation/RelNotes/2.5.0.txt was given as
    input instead.
    
    * dt/cat-file-follow-symlinks:
      cat-file: add --follow-symlinks to --batch
      sha1_name: get_sha1_with_context learns to follow symlinks
      tree-walk: learn get_tree_entry_follow_symlinks
    67f0b6f3