summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-08-14 19:58:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-08-14 19:58:16 -0400
commit9980ddff308dc086b99875ac80c36226eb255f44 (patch)
treefe98ddf290eb78e0adf5d4f2d5e08bc6767b905e
parentc5666ec48178ae0c16660044dd3d114a019491f3 (diff)
parent18012c7ec8e8bcbcdc8712be29046c12adeaf6d2 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/bugs/--git-dir_and_--work-tree_options.mdwn29
-rw-r--r--doc/bugs/wishlist:_more_descriptive_commit_messages_in_git-annex_branch.mdwn26
-rw-r--r--doc/forum/version_3_upgrade.mdwn9
3 files changed, 64 insertions, 0 deletions
diff --git a/doc/bugs/--git-dir_and_--work-tree_options.mdwn b/doc/bugs/--git-dir_and_--work-tree_options.mdwn
new file mode 100644
index 000000000..d76a42bff
--- /dev/null
+++ b/doc/bugs/--git-dir_and_--work-tree_options.mdwn
@@ -0,0 +1,29 @@
+git-annex does not take into account the --git-dir and --work-tree command line options (while they can be useful when scripting).
+
+ > mkdir /tmp/test
+ > cd /tmp/test
+ > git init
+ Initialized empty Git repository in /tmp/test/.git/
+ > git annex init test
+ init test ok
+ > touch foo
+ > cd
+ > git --git-dir=/tmp/test/.git --work-tree=/tmp/test annex add foo
+ git-annex: Not in a git repository.
+
+regular git add works:
+
+ > git --git-dir=/tmp/test/.git --work-tree=/tmp/test add foo
+ > git --git-dir=/tmp/test/.git --work-tree=/tmp/test status
+ # On branch master
+ #
+ # Initial commit
+ #
+ # Changes to be committed:
+ # (use "git rm --cached <file>..." to unstage)
+ #
+ # new file: foo
+ #
+
+git-annex version: 3.20110702
+
diff --git a/doc/bugs/wishlist:_more_descriptive_commit_messages_in_git-annex_branch.mdwn b/doc/bugs/wishlist:_more_descriptive_commit_messages_in_git-annex_branch.mdwn
new file mode 100644
index 000000000..68b24c2fb
--- /dev/null
+++ b/doc/bugs/wishlist:_more_descriptive_commit_messages_in_git-annex_branch.mdwn
@@ -0,0 +1,26 @@
+as of git-annex version 3.20110719, all git-annex commits only contain the word "update" as a commit message. given that the contents of the commit are pretty non-descriptive (SHA1 hashes for file names, uuids for repository names), i suggest to have more descriptive commit messages, as shown here:
+
+ /mnt/usb_disk/photos/2011$ git annex get
+ /mnt/usb_disk/photos/2011$ git show git-annex
+ [...]
+ usb-disk-photos: get 2011
+
+ * 10 files retrieved from 2 sources (9 from local-harddisk, 1 from my-server)
+ * 120 files were already present
+ * 2 files could not be retrieved
+ /mnt/usb_disk/photos/2011$ cd ~/photos/2011/07
+ ~/photos/2011/07$ git copy --to my-server
+ ~/photos/2011/07$ git show git-annex
+ [...]
+ local-harddisk: copy 2011/07 to my-server
+
+ * 20 files pushed
+ ~/photos/2011/07$
+
+in my opinion, the messages should at least contain
+
+* what command was used
+* in which repository they were executed
+* which files or directories they affected (not necessarily all files, but what was given on command line or implicitly from the working directory)
+
+--[[chrysn]]
diff --git a/doc/forum/version_3_upgrade.mdwn b/doc/forum/version_3_upgrade.mdwn
new file mode 100644
index 000000000..7fdbcbc80
--- /dev/null
+++ b/doc/forum/version_3_upgrade.mdwn
@@ -0,0 +1,9 @@
+after upgrading to git-annex 3, i'm stuck with diverging git-annex branches -- i didn't manage to follow this line in the directions:
+
+> After this upgrade, you should make sure you include the git-annex branch when git pushing and pulling.
+
+could you explain how to do that in a littel more detail? git pull seems to only merge master, although i have these ``.git/config`` settings:
+
+ [branch "git-annex"]
+ remote = origin
+ merge = git-annex