~ubuntu-branches/debian/sid/git/sid

« back to all changes in this revision

Viewing changes to t/t4008-diff-break-rewrite.sh

  • Committer: Package Import Robot
  • Author(s): Jonathan Nieder
  • Date: 2013-07-30 19:11:14 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130730191114-f07bzymte4v26irn
Tags: 1:1.8.4~rc0-1
* new upstream release candidate.
* use /var/lib/git instead of /var/cache/git as default git
  project root to comply with the Filesystem Hierarchy Standard
  (thx Julian Gilbey; closes: #483788):
  * git-daemon.default, git-daemon.in, git-daemon/run: use
    base path of /var/lib and projectroot of /var/lib/git.
  * gitweb.conf: $projectroot = "/var/lib/git".
  * rules: package git: install empty /var/lib/git directory
    instead of /var/cache/git.
  * git.README.Debian, git-daemon-run.README.Debian,
    git-daemon-sysvinit.README.Debian, gitweb.README.Debian:
    update for the new project root.
  * git.preinst: install symlinks /var/lib/git/* ->
    ../../cache/git/*.
  * git.NEWS.Debian: advertise the change and explain how to
    adapt to it.
* update debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    'validate result of -B -M (#4)' \
100
100
    'compare_diff_raw expected current'
101
101
 
102
 
test_expect_success SYMLINKS \
 
102
test_expect_success \
103
103
    'make file0 into something completely different' \
104
104
    'rm -f file0 &&
105
 
     ln -s frotz file0 &&
106
 
     git update-index file0 file1'
 
105
     test_ln_s_add frotz file0 &&
 
106
     git update-index file1'
107
107
 
108
108
test_expect_success \
109
109
    'run diff with -B' \
114
114
:100644 100644 6ff87c4664981e4397625791c8ea3bbb5f2279a3 f5deac7be59e7eeab8657fd9ae706fd6a57daed2 M100   file1
115
115
EOF
116
116
 
117
 
test_expect_success SYMLINKS \
 
117
test_expect_success \
118
118
    'validate result of -B (#5)' \
119
119
    'compare_diff_raw expected current'
120
120
 
129
129
:100644 100644 6ff87c4664981e4397625791c8ea3bbb5f2279a3 f5deac7be59e7eeab8657fd9ae706fd6a57daed2 R      file0   file1
130
130
EOF
131
131
 
132
 
test_expect_success SYMLINKS \
 
132
test_expect_success \
133
133
    'validate result of -B -M (#6)' \
134
134
    'compare_diff_raw expected current'
135
135
 
144
144
:100644 100644 6ff87c4664981e4397625791c8ea3bbb5f2279a3 f5deac7be59e7eeab8657fd9ae706fd6a57daed2 M      file1
145
145
EOF
146
146
 
147
 
test_expect_success SYMLINKS \
 
147
test_expect_success \
148
148
    'validate result of -M (#7)' \
149
149
    'compare_diff_raw expected current'
150
150