New submission from Ben Franksen <[email protected]>: More information without extra cost.
1 patch for repository https://darcs.net/screened: patch 4c90a40ee080b68ed65ca2a3d68382391564c1db Author: Ben Franksen <[email protected]> Date: Thu Dec 29 13:05:52 CET 2022 * display added/removed lines when summarizing addfile/rmfile Like with pure file modifications, we don't do this if machineReadable is in effect. ---------- files: display-added_removed-lines-when-summarizing-addfile_rmfile.dpatch, patch-preview.txt messages: 24155 nosy: bfrk status: needs-screening title: display added/removed lines when summarizing addfile/r... __________________________________ Darcs bug tracker <[email protected]> <https://bugs.darcs.net/patch2448> __________________________________
[display added/removed lines when summarizing addfile/rmfile Ben Franksen <[email protected]>**20221229120552 Ignore-this: 1a7f7c4a58012dd9dd368cfc25374acd279684a079d8536d203b8d5d19024f7c0fae49a8abf55d84 Like with pure file modifications, we don't do this if machineReadable is in effect. ] hunk ./src/Darcs/Patch/Summary.hs 160 - SummFile SummRm f _ _ _ -> lconf c "R" $ formatFileName FileNameFormatDisplay f - SummFile SummAdd f _ _ _ -> lconf c "A" $ formatFileName FileNameFormatDisplay f + SummFile SummRm f r a x + | machineReadable -> lconf c "R" $ formatFileName FileNameFormatDisplay f + | otherwise -> lconf c "R" $ formatFileName FileNameFormatDisplay f <+> rm r <+> ad a <+> rp x + SummFile SummAdd f r a x + | machineReadable -> lconf c "A" $ formatFileName FileNameFormatDisplay f + | otherwise -> lconf c "A" $ formatFileName FileNameFormatDisplay f <+> rm r <+> ad a <+> rp x hunk ./tests/issue2382-mv-dir-to-file-confuses-darcs.sh 73 -R ./foo +R ./foo -1
display-added_removed-lines-when-summarizing-addfile_rmfile.dpatch
Description: application/darcs-patch
_______________________________________________ darcs-devel mailing list [email protected] https://lists.darcs.net/mailman/listinfo/darcs-devel
