• Show log

    Commit

  • Hash : 7e57d250
    Author : Sascha Cunz
    Date : 2012-09-18T23:43:23

    Diff: teach get_workdir_content to show a submodule as text
    
    1. teach diff.c:maybe_modified to query git_submodule_status for the
       modification state of a submodule. According to the
       git_submodule_status docs, it will filter for to-ignore states
       already.
    
    2. teach diff_output.c:get_workdir_content to check the submodule status
       again and create a line like:
    
          Subproject commit <SHA-1>\n
       or
          Subproject comimt <SHA-1>-dirty\n
    
       like git.git does.