projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
test: remove httpd tests that ask for user
[git]
/
t
/
t3514-revert-cherry-notes.sh
1
#!/bin/sh
2
3
test_description='test cherry-pick and revert notes'
4
5
. ./test-lib.sh
6
7
test_expect_success 'notes are rewritten' '
8
test_config notes.rewrite.cherry-pick true &&
9
test_config notes.rewriteRef "refs/notes/*" &&
10
test_commit n1 &&
11
test_commit n2 &&
12
git notes add -m "a note" n2 &&
13
git checkout n1 &&
14
git cherry-pick n2 &&
15
git notes show HEAD
16
'
17
18
test_done