Permalink
Browse files

found the right implementation for git-whats

  • Loading branch information...
1 parent 26e24b5 commit c1d32938137257aea115b16467385fd835b525de @mjdominus committed Mar 23, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 NOTES/git-whats
View
4 NOTES/git-whats
@@ -1,6 +1,10 @@
The whole mechanism here is kind of stupid. Why not see if you can
use git-notes to store the information you want?
+ git-notes is wrong for this; it annotates objects, not refs. just
+ stick a file under .git/. Or perhaps simplest: can use git-config
+ branch.branchname.whats. This seems to work just fine.
+
Needs a git-commit hook that detects when you are making a commit to a
nonmaster branch that has no .whats file, prompts you for a
message. and then redoes the commit. It should also detect a merge and

0 comments on commit c1d3293

Please sign in to comment.