1\version "2.19.21"
2
3\header {
4  texidoc = "The second and third notes should not get accidentals,
5    because they are tied to a note.  However, an accidental is
6    present if the line is broken at the tie, which happens for the G
7    sharp.
8
9    The presence of an accidental after a broken tie can be
10    overridden.
11"
12}
13\layout {
14  ragged-right = ##t
15}
16
17mus =  	\relative {
18  f'1~
19  2~4 % ~ f8
20  fis8  gis8 ~
21  \break
22  gis1
23  \override Accidental.hide-tied-accidental-after-break = ##t
24  f1~
25  2~4 % ~ f8
26  fis8  gis8 ~
27  \break
28  gis1
29}
30
31<<
32  \new NoteNames \mus
33  \new Voice { \key g \major \mus }
34>>
35