• Junio C Hamano's avatar
    Merge branch 'nd/ita-wt-renames-in-status' · bc3dca07
    Junio C Hamano authored
    "git status" after moving a path in the working tree (hence making
    it appear "removed") and then adding with the -N option (hence
    making that appear "added") detected it as a rename, but did not
    report the  old and new pathnames correctly.
    
    * nd/ita-wt-renames-in-status:
      wt-status.c: handle worktree renames
      wt-status.c: rename rename-related fields in wt_status_change_data
      wt-status.c: catch unhandled diff status codes
      wt-status.c: coding style fix
      Use DIFF_DETECT_RENAME for detect_rename assignments
      t2203: test status output with porcelain v2 format
    bc3dca07
wt-status.h 3.63 KB