Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
af9875765c
2 changed files with 76 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="yarikoptic"
|
||||||
|
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||||
|
subject="comment 2"
|
||||||
|
date="2022-09-21T18:46:50Z"
|
||||||
|
content="""
|
||||||
|
d'oh forgot to show that I have tried that one too. Here is everything at once again with `git diff` and again doing checksums (that should have been different in my prev examples as well if different only in tree but not in index):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git status
|
||||||
|
On branch draft
|
||||||
|
Your branch is up to date with 'github/draft'.
|
||||||
|
|
||||||
|
Changes not staged for commit:
|
||||||
|
(use \"git add <file>...\" to update what will be committed)
|
||||||
|
(use \"git restore <file>...\" to discard changes in working directory)
|
||||||
|
modified: .dandi/assets.json
|
||||||
|
|
||||||
|
|
||||||
|
It took 3.19 seconds to enumerate untracked files. 'status -uno'
|
||||||
|
may speed it up, but you have to be careful not to forget to add
|
||||||
|
new files yourself (see 'git help status').
|
||||||
|
no changes added to commit (use \"git add\" and/or \"git commit -a\")
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git diff
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git diff --cached
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ sha256sum .dandi/assets.json
|
||||||
|
6a0a91c4158d316ab8ad9bd8ebf7579b9c3c579e1035c48134246b6a5d2f6f14 .dandi/assets.json
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git show -- .dandi/assets.json
|
||||||
|
commit b859efed7ddb2ff31cc26168f40676c572d2798f (HEAD -> draft, github/draft, github/HEAD)
|
||||||
|
Author: DANDI User <info@dandiarchive.org>
|
||||||
|
Date: Fri Sep 16 22:22:29 2022 +0000
|
||||||
|
|
||||||
|
[backups2datalad] 66 files added
|
||||||
|
|
||||||
|
diff --git a/.dandi/assets.json b/.dandi/assets.json
|
||||||
|
index d3ef95e1ee..62fe372810 100644
|
||||||
|
--- a/.dandi/assets.json
|
||||||
|
+++ b/.dandi/assets.json
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-/annex/objects/SHA256E-s69400783--8b576786d3926ab0e84809b4131cdc5a8f631674d378afa343e7dcd84f011c90.json
|
||||||
|
+/annex/objects/SHA256E-s69507227--6a0a91c4158d316ab8ad9bd8ebf7579b9c3c579e1035c48134246b6a5d2f6f14.json
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git annex status
|
||||||
|
M ./.dandi/assets.json
|
||||||
|
|
||||||
|
```
|
||||||
|
"""]]
|
|
@ -0,0 +1,30 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="yarikoptic"
|
||||||
|
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||||
|
subject="comment 3"
|
||||||
|
date="2022-09-21T18:49:06Z"
|
||||||
|
content="""
|
||||||
|
the workaround you suggest elsewhere for \"cosmetic\" problem works here too
|
||||||
|
|
||||||
|
```
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git status
|
||||||
|
On branch draft
|
||||||
|
Your branch is up to date with 'github/draft'.
|
||||||
|
|
||||||
|
Changes not staged for commit:
|
||||||
|
(use \"git add <file>...\" to update what will be committed)
|
||||||
|
(use \"git restore <file>...\" to discard changes in working directory)
|
||||||
|
modified: .dandi/assets.json
|
||||||
|
|
||||||
|
no changes added to commit (use \"git add\" and/or \"git commit -a\")
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git update-index -q --refresh .dandi/assets.json
|
||||||
|
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git status
|
||||||
|
On branch draft
|
||||||
|
Your branch is up to date with 'github/draft'.
|
||||||
|
|
||||||
|
nothing to commit, working tree clean
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
but since we are relying on output from `status`, it is not just a \"cosmetic\" issue. IMHO if such `update-index` is needed, it should have been done by git-annex automagically somehow/sometime.
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue