AlanOC commited on
Commit
7317350
1 Parent(s): 36cf11a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -570
README.md CHANGED
@@ -1,572 +1,3 @@
1
- <<<<<<< HEAD
2
- git filter-repo is a versatile tool for rewriting history, which includes
3
- [capabilities I have not found anywhere
4
- else](#design-rationale-behind-filter-repo). It roughly falls into the
5
- same space of tool as [git
6
- filter-branch](https://git-scm.com/docs/git-filter-branch) but without the
7
- capitulation-inducing poor
8
- [performance](https://public-inbox.org/git/CABPp-BGOz8nks0+Tdw5GyGqxeYR-3FF6FT5JcgVqZDYVRQ6qog@mail.gmail.com/),
9
- with far more capabilities, and with a design that scales usability-wise
10
- beyond trivial rewriting cases. [git filter-repo is now recommended by the
11
- git project](https://git-scm.com/docs/git-filter-branch#_warning) instead
12
- of git filter-branch.
13
-
14
- While most users will probably just use filter-repo as a simple command
15
- line tool (and likely only use a few of its flags), at its core filter-repo
16
- contains a library for creating history rewriting tools. As such, users
17
- with specialized needs can leverage it to quickly create [entirely new
18
- history rewriting tools](contrib/filter-repo-demos).
19
-
20
- # Table of Contents
21
-
22
- * [Prerequisites](#prerequisites)
23
- * [How do I install it?](#how-do-i-install-it)
24
- * [How do I use it?](#how-do-i-use-it)
25
- * [Why filter-repo instead of other alternatives?](#why-filter-repo-instead-of-other-alternatives)
26
- * [filter-branch](#filter-branch)
27
- * [BFG Repo Cleaner](#bfg-repo-cleaner)
28
- * [Simple example, with comparisons](#simple-example-with-comparisons)
29
- * [Solving this with filter-repo](#solving-this-with-filter-repo)
30
- * [Solving this with BFG Repo Cleaner](#solving-this-with-bfg-repo-cleaner)
31
- * [Solving this with filter-branch](#solving-this-with-filter-branch)
32
- * [Solving this with fast-export/fast-import](#solving-this-with-fast-exportfast-import)
33
- * [Design rationale behind filter-repo](#design-rationale-behind-filter-repo)
34
- * [How do I contribute?](#how-do-i-contribute)
35
- * [Is there a Code of Conduct?](#is-there-a-code-of-conduct)
36
- * [Upstream Improvements](#upstream-improvements)
37
-
38
- # Prerequisites
39
-
40
- filter-repo requires:
41
-
42
- * git >= 2.22.0 at a minimum; [some features](#upstream-improvements)
43
- require git >= 2.24.0 or later
44
- * python3 >= 3.5
45
-
46
- # How do I install it?
47
-
48
- `git-filter-repo` is a single-file python script, which was done to make
49
- installation for basic use on many systems trivial: just place that
50
- file into your $PATH.
51
-
52
- See [INSTALL.md](INSTALL.md) for things beyond basic usage or special
53
- cases. The more involved instructions are only needed if one of the
54
- following apply:
55
-
56
- * you do not find the above comment about trivial installation intuitively
57
- obvious
58
- * you are working with a python3 executable named something other than
59
- "python3"
60
- * you want to install documentation (beyond the builtin docs shown with -h)
61
- * you want to run some of the [contrib](contrib/filter-repo-demos/) examples
62
- * you want to create your own python filtering scripts using filter-repo as
63
- a module/library
64
-
65
- # How do I use it?
66
-
67
- For comprehensive documentation:
68
- * see the [user manual](https://htmlpreview.github.io/?https://github.com/newren/git-filter-repo/blob/docs/html/git-filter-repo.html)
69
- * alternative formating of the user manual is available on various
70
- external sites
71
- ([example](https://www.mankier.com/1/git-filter-repo)), for those
72
- that don't like the htmlpreview.github.io layout, though it may
73
- only be up-to-date as of the latest release
74
-
75
- If you prefer learning from examples:
76
- * there is a [cheat sheet for converting filter-branch
77
- commands](Documentation/converting-from-filter-branch.md#cheat-sheet-conversion-of-examples-from-the-filter-branch-manpage),
78
- which covers every example from the filter-branch manual
79
- * there is a [cheat sheet for converting BFG Repo Cleaner
80
- commands](Documentation/converting-from-bfg-repo-cleaner.md#cheat-sheet-conversion-of-examples-from-bfg),
81
- which covers every example from the BFG website
82
- * the [simple example](#simple-example-with-comparisons) below may
83
- be of interest
84
- * the user manual has an extensive [examples
85
- section](https://htmlpreview.github.io/?https://github.com/newren/git-filter-repo/blob/docs/html/git-filter-repo.html#EXAMPLES)
86
-
87
- # Why filter-repo instead of other alternatives?
88
-
89
- This was covered in more detail in a [Git Rev News article on
90
- filter-repo](https://git.github.io/rev_news/2019/08/21/edition-54/#an-introduction-to-git-filter-repo--written-by-elijah-newren),
91
- but some highlights for the main competitors:
92
-
93
- ## filter-branch
94
-
95
- * filter-branch is [extremely to unusably
96
- slow](https://public-inbox.org/git/CABPp-BGOz8nks0+Tdw5GyGqxeYR-3FF6FT5JcgVqZDYVRQ6qog@mail.gmail.com/)
97
- ([multiple orders of magnitude slower than it should
98
- be](https://git-scm.com/docs/git-filter-branch#PERFORMANCE))
99
- for non-trivial repositories.
100
-
101
- * [filter-branch is riddled with
102
- gotchas](https://git-scm.com/docs/git-filter-branch#SAFETY) that can
103
- silently corrupt your rewrite or at least thwart your "cleanup"
104
- efforts by giving you something more problematic and messy than what
105
- you started with.
106
-
107
- * filter-branch is [very onerous](#simple-example-with-comparisons)
108
- [to
109
- use](https://github.com/newren/git-filter-repo/blob/a6a6a1b0f62d365bbe2e76f823e1621857ec4dbd/contrib/filter-repo-demos/filter-lamely#L9-L61)
110
- for any rewrite which is even slightly non-trivial.
111
-
112
- * the git project has stated that the above issues with filter-branch
113
- cannot be backward compatibly fixed; they recommend that you [stop
114
- using
115
- filter-branch](https://git-scm.com/docs/git-filter-branch#_warning)
116
-
117
- * die-hard fans of filter-branch may be interested in
118
- [filter-lamely](contrib/filter-repo-demos/filter-lamely)
119
- (a.k.a. [filter-branch-ish](contrib/filter-repo-demos/filter-branch-ish)),
120
- a reimplementation of filter-branch based on filter-repo which is
121
- more performant (though not nearly as fast or safe as
122
- filter-repo).
123
-
124
- * a [cheat
125
- sheet](Documentation/converting-from-filter-branch.md#cheat-sheet-conversion-of-examples-from-the-filter-branch-manpage)
126
- is available showing how to convert example commands from the manual of
127
- filter-branch into filter-repo commands.
128
-
129
- ## BFG Repo Cleaner
130
-
131
- * great tool for its time, but while it makes some things simple, it
132
- is limited to a few kinds of rewrites.
133
-
134
- * its architecture is not amenable to handling more types of
135
- rewrites.
136
-
137
- * its architecture presents some shortcomings and bugs even for its
138
- intended usecase.
139
-
140
- * fans of bfg may be interested in
141
- [bfg-ish](contrib/filter-repo-demos/bfg-ish), a reimplementation of bfg
142
- based on filter-repo which includes several new features and bugfixes
143
- relative to bfg.
144
-
145
- * a [cheat
146
- sheet](Documentation/converting-from-bfg-repo-cleaner.md#cheat-sheet-conversion-of-examples-from-bfg)
147
- is available showing how to convert example commands from the manual of
148
- BFG Repo Cleaner into filter-repo commands.
149
-
150
- # Simple example, with comparisons
151
-
152
- Let's say that we want to extract a piece of a repository, with the intent
153
- on merging just that piece into some other bigger repo. For extraction, we
154
- want to:
155
-
156
- * extract the history of a single directory, src/. This means that only
157
- paths under src/ remain in the repo, and any commits that only touched
158
- paths outside this directory will be removed.
159
- * rename all files to have a new leading directory, my-module/ (e.g. so that
160
- src/foo.c becomes my-module/src/foo.c)
161
- * rename any tags in the extracted repository to have a 'my-module-'
162
- prefix (to avoid any conflicts when we later merge this repo into
163
- something else)
164
-
165
- ## Solving this with filter-repo
166
-
167
- Doing this with filter-repo is as simple as the following command:
168
- ```shell
169
- git filter-repo --path src/ --to-subdirectory-filter my-module --tag-rename '':'my-module-'
170
- ```
171
- (the single quotes are unnecessary, but make it clearer to a human that we
172
- are replacing the empty string as a prefix with `my-module-`)
173
-
174
- ## Solving this with BFG Repo Cleaner
175
-
176
- BFG Repo Cleaner is not capable of this kind of rewrite; in fact, all
177
- three types of wanted changes are outside of its capabilities.
178
-
179
- ## Solving this with filter-branch
180
-
181
- filter-branch comes with a pile of caveats (more on that below) even
182
- once you figure out the necessary invocation(s):
183
-
184
- ```shell
185
- git filter-branch \
186
- --tree-filter 'mkdir -p my-module && \
187
- git ls-files \
188
- | grep -v ^src/ \
189
- | xargs git rm -f -q && \
190
- ls -d * \
191
- | grep -v my-module \
192
- | xargs -I files mv files my-module/' \
193
- --tag-name-filter 'echo "my-module-$(cat)"' \
194
- --prune-empty -- --all
195
- git clone file://$(pwd) newcopy
196
- cd newcopy
197
- git for-each-ref --format="delete %(refname)" refs/tags/ \
198
- | grep -v refs/tags/my-module- \
199
- | git update-ref --stdin
200
- git gc --prune=now
201
- ```
202
-
203
- Some might notice that the above filter-branch invocation will be really
204
- slow due to using --tree-filter; you could alternatively use the
205
- --index-filter option of filter-branch, changing the above commands to:
206
-
207
- ```shell
208
- git filter-branch \
209
- --index-filter 'git ls-files \
210
- | grep -v ^src/ \
211
- | xargs git rm -q --cached;
212
- git ls-files -s \
213
- | sed "s%$(printf \\t)%&my-module/%" \
214
- | git update-index --index-info;
215
- git ls-files \
216
- | grep -v ^my-module/ \
217
- | xargs git rm -q --cached' \
218
- --tag-name-filter 'echo "my-module-$(cat)"' \
219
- --prune-empty -- --all
220
- git clone file://$(pwd) newcopy
221
- cd newcopy
222
- git for-each-ref --format="delete %(refname)" refs/tags/ \
223
- | grep -v refs/tags/my-module- \
224
- | git update-ref --stdin
225
- git gc --prune=now
226
- ```
227
-
228
- However, for either filter-branch command there are a pile of caveats.
229
- First, some may be wondering why I list five commands here for
230
- filter-branch. Despite the use of --all and --tag-name-filter, and
231
- filter-branch's manpage claiming that a clone is enough to get rid of
232
- old objects, the extra steps to delete the other tags and do another
233
- gc are still required to clean out the old objects and avoid mixing
234
- new and old history before pushing somewhere. Other caveats:
235
- * Commit messages are not rewritten; so if some of your commit
236
- messages refer to prior commits by (abbreviated) sha1, after the
237
- rewrite those messages will now refer to commits that are no longer
238
- part of the history. It would be better to rewrite those
239
- (abbreviated) sha1 references to refer to the new commit ids.
240
- * The --prune-empty flag sometimes misses commits that should be
241
- pruned, and it will also prune commits that *started* empty rather
242
- than just ended empty due to filtering. For repositories that
243
- intentionally use empty commits for versioning and publishing
244
- related purposes, this can be detrimental.
245
- * The commands above are OS-specific. GNU vs. BSD issues for sed,
246
- xargs, and other commands often trip up users; I think I failed to
247
- get most folks to use --index-filter since the only example in the
248
- filter-branch manpage that both uses it and shows how to move
249
- everything into a subdirectory is linux-specific, and it is not
250
- obvious to the reader that it has a portability issue since it
251
- silently misbehaves rather than failing loudly.
252
- * The --index-filter version of the filter-branch command may be two to
253
- three times faster than the --tree-filter version, but both
254
- filter-branch commands are going to be multiple orders of magnitude
255
- slower than filter-repo.
256
- * Both commands assume all filenames are composed entirely of ascii
257
- characters (even special ascii characters such as tabs or double
258
- quotes will wreak havoc and likely result in missing files or
259
- misnamed files)
260
-
261
- ## Solving this with fast-export/fast-import
262
-
263
- One can kind of hack this together with something like:
264
-
265
- ```shell
266
- git fast-export --no-data --reencode=yes --mark-tags --fake-missing-tagger \
267
- --signed-tags=strip --tag-of-filtered-object=rewrite --all \
268
- | grep -vP '^M [0-9]+ [0-9a-f]+ (?!src/)' \
269
- | grep -vP '^D (?!src/)' \
270
- | perl -pe 's%^(M [0-9]+ [0-9a-f]+ )(.*)$%\1my-module/\2%' \
271
- | perl -pe 's%^(D )(.*)$%\1my-module/\2%' \
272
- | perl -pe s%refs/tags/%refs/tags/my-module-% \
273
- | git -c core.ignorecase=false fast-import --date-format=raw-permissive \
274
- --force --quiet
275
- git for-each-ref --format="delete %(refname)" refs/tags/ \
276
- | grep -v refs/tags/my-module- \
277
- | git update-ref --stdin
278
- git reset --hard
279
- git reflog expire --expire=now --all
280
- git gc --prune=now
281
- ```
282
-
283
- But this comes with some nasty caveats and limitations:
284
- * The various greps and regex replacements operate on the entire
285
- fast-export stream and thus might accidentally corrupt unintended
286
- portions of it, such as commit messages. If you needed to edit
287
- file contents and thus dropped the --no-data flag, it could also
288
- end up corrupting file contents.
289
- * This command assumes all filenames in the repository are composed
290
- entirely of ascii characters, and also exclude special characters
291
- such as tabs or double quotes. If such a special filename exists
292
- within the old src/ directory, it will be pruned even though it
293
- was intended to be kept. (In slightly different repository
294
- rewrites, this type of editing also risks corrupting filenames
295
- with special characters by adding extra double quotes near the end
296
- of the filename and in some leading directory name.)
297
- * This command will leave behind huge numbers of useless empty
298
- commits, and has no realistic way of pruning them. (And if you
299
- tried to combine this technique with another tool to prune the
300
- empty commits, then you now have no way to distinguish between
301
- commits which were made empty by the filtering that you want to
302
- remove, and commits which were empty before the filtering process
303
- and which you thus may want to keep.)
304
- * Commit messages which reference other commits by hash will now
305
- reference old commits that no longer exist. Attempting to edit
306
- the commit messages to update them is extraordinarily difficult to
307
- add to this kind of direct rewrite.
308
-
309
- # Design rationale behind filter-repo
310
-
311
- None of the existing repository filtering tools did what I wanted;
312
- they all came up short for my needs. No tool provided any of the
313
- first eight traits below I wanted, and no tool provided more than
314
- two of the last four traits either:
315
-
316
- 1. [Starting report] Provide user an analysis of their repo to help
317
- them get started on what to prune or rename, instead of expecting
318
- them to guess or find other tools to figure it out. (Triggered, e.g.
319
- by running the first time with a special flag, such as --analyze.)
320
-
321
- 1. [Keep vs. remove] Instead of just providing a way for users to
322
- easily remove selected paths, also provide flags for users to
323
- only *keep* certain paths. Sure, users could workaround this by
324
- specifying to remove all paths other than the ones they want to
325
- keep, but the need to specify all paths that *ever* existed in
326
- **any** version of the repository could sometimes be quite
327
- painful. For filter-branch, using pipelines like `git ls-files |
328
- grep -v ... | xargs -r git rm` might be a reasonable workaround
329
- but can get unwieldy and isn't as straightforward for users; plus
330
- those commands are often operating-system specific (can you spot
331
- the GNUism in the snippet I provided?).
332
-
333
- 1. [Renaming] It should be easy to rename paths. For example, in
334
- addition to allowing one to treat some subdirectory as the root
335
- of the repository, also provide options for users to make the
336
- root of the repository just become a subdirectory. And more
337
- generally allow files and directories to be easily renamed.
338
- Provide sanity checks if renaming causes multiple files to exist
339
- at the same path. (And add special handling so that if a commit
340
- merely copied oldname->newname without modification, then
341
- filtering oldname->newname doesn't trigger the sanity check and
342
- die on that commit.)
343
-
344
- 1. [More intelligent safety] Writing copies of the original refs to
345
- a special namespace within the repo does not provide a
346
- user-friendly recovery mechanism. Many would struggle to recover
347
- using that. Almost everyone I've ever seen do a repository
348
- filtering operation has done so with a fresh clone, because
349
- wiping out the clone in case of error is a vastly easier recovery
350
- mechanism. Strongly encourage that workflow by [detecting and
351
- bailing if we're not in a fresh
352
- clone](https://htmlpreview.github.io/?https://github.com/newren/git-filter-repo/blob/docs/html/git-filter-repo.html#FRESHCLONE),
353
- unless the user overrides with --force.
354
-
355
- 1. [Auto shrink] Automatically remove old cruft and repack the
356
- repository for the user after filtering (unless overridden); this
357
- simplifies things for the user, helps avoid mixing old and new
358
- history together, and avoids problems where the multi-step
359
- process for shrinking the repo documented in the manpage doesn't
360
- actually work in some cases. (I'm looking at you,
361
- filter-branch.)
362
-
363
- 1. [Clean separation] Avoid confusing users (and prevent accidental
364
- re-pushing of old stuff) due to mixing old repo and rewritten
365
- repo together. (This is particularly a problem with filter-branch
366
- when using the --tag-name-filter option, and sometimes also an
367
- issue when only filtering a subset of branches.)
368
-
369
- 1. [Versatility] Provide the user the ability to extend the tool or
370
- even write new tools that leverage existing capabilities, and
371
- provide this extensibility in a way that (a) avoids the need to
372
- fork separate processes (which would destroy performance), (b)
373
- avoids making the user specify OS-dependent shell commands (which
374
- would prevent users from sharing commands with each other), (c)
375
- takes advantage of rich data structures (because hashes, dicts,
376
- lists, and arrays are prohibitively difficult in shell) and (d)
377
- provides reasonable string manipulation capabilities (which are
378
- sorely lacking in shell).
379
-
380
- 1. [Old commit references] Provide a way for users to use old commit
381
- IDs with the new repository (in particular via mapping from old to
382
- new hashes with refs/replace/ references).
383
-
384
- 1. [Commit message consistency] If commit messages refer to other
385
- commits by ID (e.g. "this reverts commit 01234567890abcdef", "In
386
- commit 0013deadbeef9a..."), those commit messages should be
387
- rewritten to refer to the new commit IDs.
388
-
389
- 1. [Become-empty pruning] Commits which become empty due to filtering
390
- should be pruned. If the parent of a commit is pruned, the first
391
- non-pruned ancestor needs to become the new parent. If no
392
- non-pruned ancestor exists and the commit was not a merge, then it
393
- becomes a new root commit. If no non-pruned ancestor exists and
394
- the commit was a merge, then the merge will have one less parent
395
- (and thus make it likely to become a non-merge commit which would
396
- itself be pruned if it had no file changes of its own). One
397
- special thing to note here is that we prune commits which become
398
- empty, NOT commits which start empty. Some projects intentionally
399
- create empty commits for versioning or publishing reasons, and
400
- these should not be removed. (As a special case, commits which
401
- started empty but whose parent was pruned away will also be
402
- considered to have "become empty".)
403
-
404
- 1. [Become-degenerate pruning] Pruning of commits which become empty
405
- can potentially cause topology changes, and there are lots of
406
- special cases. Normally, merge commits are not removed since they
407
- are needed to preserve the graph topology, but the pruning of
408
- parents and other ancestors can ultimately result in the loss of
409
- one or more parents. A simple case was already noted above: if a
410
- merge commit loses enough parents to become a non-merge commit and
411
- it has no file changes, then it too can be pruned. Merge commits
412
- can also have a topology that becomes degenerate: it could end up
413
- with the merge_base serving as both parents (if all intervening
414
- commits from the original repo were pruned), or it could end up
415
- with one parent which is an ancestor of its other parent. In such
416
- cases, if the merge has no file changes of its own, then the merge
417
- commit can also be pruned. However, much as we do with empty
418
- pruning we do not prune merge commits that started degenerate
419
- (which indicates it may have been intentional, such as with --no-ff
420
- merges) but only merge commits that become degenerate and have no
421
- file changes of their own.
422
-
423
- 1. [Speed] Filtering should be reasonably fast
424
-
425
- # How do I contribute?
426
-
427
- See the [contributing guidelines](Documentation/Contributing.md).
428
-
429
- # Is there a Code of Conduct?
430
-
431
- Participants in the filter-repo community are expected to adhere to
432
- the same standards as for the git project, so the [git Code of
433
- Conduct](https://git.kernel.org/pub/scm/git/git.git/tree/CODE_OF_CONDUCT.md)
434
- applies.
435
-
436
- # Upstream Improvements
437
-
438
- Work on filter-repo and [its
439
- predecessor](https://public-inbox.org/git/51419b2c0904072035u1182b507o836a67ac308d32b9@mail.gmail.com/)
440
- has also driven numerous improvements to fast-export and fast-import
441
- (and occasionally other commands) in core git, based on things
442
- filter-repo needs to do its work:
443
-
444
- * git-2.28.0
445
- * [fast-import: add new --date-format=raw-permissive format](
446
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=d42a2fb72f)
447
- * git-2.24.0
448
- * [fast-export: handle nested tags](
449
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=941790d7de)
450
- * [t9350: add tests for tags of things other than a commit](
451
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=8d7d33c1ce)
452
- * [fast-export: allow user to request tags be marked with --mark-tags](
453
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=a1638cfe12)
454
- * [fast-export: add support for --import-marks-if-exists](
455
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=208d69246e)
456
- * [fast-import: add support for new 'alias' command](
457
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=b8f50e5b60)
458
- * [fast-import: allow tags to be identified by mark labels](
459
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=f73b2aba05)
460
- * [fast-import: fix handling of deleted tags](
461
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=3164e6bd24)
462
- * [fast-export: fix exporting a tag and nothing else](
463
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=af2abd870b)
464
- * [git-fast-import.txt: clarify that multiple merge commits are allowed](
465
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=d1387d3895)
466
- * git-2.23.0
467
- * [t9350: fix encoding test to actually test reencoding](
468
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=32615ce762)
469
- * [fast-import: support 'encoding' commit header](
470
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=3edfcc65fd)
471
- * [fast-export: avoid stripping encoding header if we cannot reencode](
472
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=ccbfc96dc4)
473
- * [fast-export: differentiate between explicitly UTF-8 and implicitly
474
- UTF-8](
475
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=57a8be2cb0)
476
- * [fast-export: do automatic reencoding of commit messages only if
477
- requested](
478
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=e80001f8fd)
479
- * git-2.22.0
480
- * [log,diff-tree: add --combined-all-paths option](
481
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=d76ce4f734)
482
- * [t9300: demonstrate bug with get-mark and empty orphan commits](
483
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=62edbec7de)
484
- * [git-fast-import.txt: fix wording about where ls command can appear](
485
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=a63c54a019)
486
- * [fast-import: check most prominent commands first](
487
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=5056bb7646)
488
- * [fast-import: only allow cat-blob requests where it makes sense](
489
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=7ffde293f2)
490
- * [fast-import: fix erroneous handling of get-mark with empty orphan
491
- commits](
492
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=cf7b857a77)
493
- * [Honor core.precomposeUnicode in more places](
494
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=8e712ef6fc)
495
- * git-2.21.0
496
- * [fast-export: convert sha1 to oid](
497
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=843b9e6d48)
498
- * [git-fast-import.txt: fix documentation for --quiet option](
499
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=f55c979b14)
500
- * [git-fast-export.txt: clarify misleading documentation about rev-list
501
- args](
502
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=4532be7cba)
503
- * [fast-export: use value from correct enum](
504
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=b93b81e799)
505
- * [fast-export: avoid dying when filtering by paths and old tags exist](
506
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=1f30c904b3)
507
- * [fast-export: move commit rewriting logic into a function for reuse](
508
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=f129c4275c)
509
- * [fast-export: when using paths, avoid corrupt stream with non-existent
510
- mark](
511
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=cd13762d8f)
512
- * [fast-export: ensure we export requested refs](
513
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=fdf31b6369)
514
- * [fast-export: add --reference-excluded-parents option](
515
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=530ca19c02)
516
- * [fast-import: remove unmaintained duplicate documentation](
517
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=25dd3e4889)
518
- * [fast-export: add a --show-original-ids option to show
519
- original names](
520
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=a965bb3116)
521
- * [git-show-ref.txt: fix order of flags](
522
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=bd8d6f0def)
523
- * git-2.20.0
524
- * [update-ref: fix type of update_flags variable to
525
- match its usage](
526
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=e4c34855a2)
527
- * [update-ref: allow --no-deref with --stdin](
528
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=d345e9fbe7)
529
- * git-1.7.3
530
- * [fast-export: Fix dropping of files with --import-marks and path
531
- limiting](
532
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=4087a02e45)
533
- * [fast-export: Add a --full-tree option](
534
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=7f40ab0916)
535
- * [fast-export: Fix output order of D/F changes](
536
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=060df62422)
537
- * [fast-import: Improve robustness when D->F changes provided in wrong
538
- order](
539
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=253fb5f889)
540
- * git-1.6.4:
541
- * [fast-export: Set revs.topo_order before calling setup_revisions](
542
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=668f3aa776)
543
- * [fast-export: Omit tags that tag trees](
544
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=02c48cd69b)
545
- * [fast-export: Make sure we show actual ref names instead of "(null)"](
546
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=2374502c6c)
547
- * [fast-export: Do parent rewriting to avoid dropping relevant commits](
548
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=32164131db)
549
- * [fast-export: Add a --tag-of-filtered-object option for newly
550
- dangling tags](
551
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=2d8ad46919)
552
- * [Add new fast-export testcases](
553
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=25e0ca5dd6)
554
- * [fast-export: Document the fact that git-rev-list arguments are
555
- accepted](
556
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=8af15d282e)
557
- * git-1.6.3:
558
- * [git-filter-branch: avoid collisions with variables in eval'ed
559
- commands](
560
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=d5b0c97d13)
561
- * [Correct missing SP characters in grammar comment at top of
562
- fast-import.c](
563
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=98e1a4186a)
564
- * [fast-export: Avoid dropping files from commits](
565
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=ebeec7dbc5)
566
- * git-1.6.1.4:
567
- * [fast-export: ensure we traverse commits in topological order](
568
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=784f8affe4)
569
- =======
570
  ---
571
  title: Cit Info AI Chat App V2
572
  emoji: 💻
@@ -579,4 +10,4 @@ pinned: false
579
  ---
580
 
581
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
582
- >>>>>>> origin/main
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Cit Info AI Chat App V2
3
  emoji: 💻
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
13
+