equal
deleted
inserted
replaced
465 |
465 |
466 $ touch a |
466 $ touch a |
467 $ hg ci -Am "empty a" |
467 $ hg ci -Am "empty a" |
468 adding a |
468 adding a |
469 $ hg diff -c 0 --git --config experimental.extendedheader.index=full | grep index |
469 $ hg diff -c 0 --git --config experimental.extendedheader.index=full | grep index |
470 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 |
470 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 |
471 |
471 |
472 Make sure `hg diff --git` differentiate "file was empty" and "file is removed" |
472 Make sure `hg diff --git` differentiate "file was empty" and "file is removed" |
473 for git blob oids |
473 for git blob oids |
474 |
474 |
475 $ rm a |
475 $ rm a |
476 $ hg ci -Am "removed a" |
476 $ hg ci -Am "removed a" |
477 removing a |
477 removing a |
478 $ hg diff -c 1 --git --config experimental.extendedheader.index=full | grep index |
478 $ hg diff -c 1 --git --config experimental.extendedheader.index=full | grep index |
479 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 |
479 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 100644 |
480 |
480 |
481 $ cd .. |
481 $ cd .. |