Commit 1f90a64
git-p4: reduce number of server queries for fetches
When fetching changes from a depot using a full client spec, there
is no need to perform as many queries as there are top-level paths
in the client spec. Instead we query all changes in chronological
order, also getting rid of the need to sort the results and remove
duplicates.
Signed-off-by: Sam Hocevar <[email protected]>
Signed-off-by: Luke Diamand <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent cbc6924 commit 1f90a64
2 files changed
+22
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
826 | | - | |
| 825 | + | |
827 | 826 | | |
828 | | - | |
829 | | - | |
830 | | - | |
| 827 | + | |
| 828 | + | |
831 | 829 | | |
832 | | - | |
833 | | - | |
| 830 | + | |
| 831 | + | |
834 | 832 | | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
840 | 838 | | |
| 839 | + | |
841 | 840 | | |
842 | 841 | | |
843 | | - | |
844 | | - | |
845 | | - | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
846 | 845 | | |
847 | | - | |
848 | | - | |
| 846 | + | |
| 847 | + | |
849 | 848 | | |
850 | | - | |
851 | | - | |
| 849 | + | |
| 850 | + | |
852 | 851 | | |
853 | | - | |
| 852 | + | |
854 | 853 | | |
855 | | - | |
856 | | - | |
857 | | - | |
| 854 | + | |
| 855 | + | |
858 | 856 | | |
859 | 857 | | |
860 | 858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments