File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -215,3 +215,27 @@ Updates in v1.5.0 since v1.4.4 series
215215
216216 - Better error messages for often used Porcelainish commands.
217217
218+
219+ * Shallow clones
220+
221+ - There is a partial support for 'shallow' repositories that
222+ keeps only recent history now. A 'shallow clone' is created
223+ by specifying how deep that truncated history should be.
224+
225+ Currently a shallow repository has number of limitations:
226+
227+ - Cloning and fetching _from_ a shallow clone are not
228+ supported (nor tested -- so they might work by accident but
229+ they are not expected to).
230+
231+ - Pushing from nor into a shallow clone are not expected to
232+ work.
233+
234+ - Merging inside a shallow repository would work as long as a
235+ merge base is found in the recent history, but otherwise it
236+ will be like merging unrelated histories and may result in
237+ huge conflicts.
238+
239+ but this would be more than adequate for people who want to
240+ look at near the tip of a big project with a deep history and
241+ send patches in e-mail format.
You can’t perform that action at this time.
0 commit comments