Commit 9c745070b035937798c9546d09c569ae75ff3d36

Fix spelling: 'uncomitted' -> 'uncommitted'

Commit diff

README.textile

 
4848* <b>Geoff Cheshire</b> - Textile'd the README to make it look good on GitHub.
4949* <b>Martin Kühl</b> - Patch to allow committing into a git repository that's not the project root.
5050* <b>Diego Barros</b> - new config options, usability improvements
51* <b>Thomas Aylott</b> - Git commit langauge folding
52* <b>Michael Sheets</b> - Usability improvements
51* <b>Thomas Aylott</b> - Git commit language folding
52* <b>Michael Sheets</b> - Usability improvements
53* <b>Henrik Nyh</b> - Spelling
toggle raw diff

Support/app/controllers/diff_controller.rb

 
33 def diff
44 show_diff_title unless params[:layout].to_s=="false"
55 @rev = params[:rev]
6 @title = params[:title] || "Uncomitted changes"
6 @title = params[:title] || "Uncommitted changes"
77 params[:context_lines] = git.config["git-tmbundle.log.context-lines"] if git.config["git-tmbundle.log.context-lines"]
88 render("_diff_results", :locals => {:diff_results => git.diff(params)})
99 end
1616 git.paths(:fallback => :current_file, :unique => true)
1717 end
1818 base = git.git_base
19 puts "<h2>Uncomitted Changes for ‘#{htmlize(paths.map{|path| shorten(path, base)} * ', ')}’</h2>"
19 puts "<h2>Uncommitted Changes for ‘#{htmlize(paths.map{|path| shorten(path, base)} * ', ')}’</h2>"
2020 open_in_tm_link
2121
2222 paths.each do |path|
toggle raw diff

Support/spec/fixtures/changed_files_with_break.diff

 
4848@@ -15,7 +15,7 @@ base = git.nca(paths)
4949 Formatters::Diff.new(base) do |f|
5050 paths.each do |path|
51 f.header("Uncomitted Changes for ‘#{htmlize(shorten(path, base))}’")
51 f.header("Uncommitted Changes for ‘#{htmlize(shorten(path, base))}’")
5252- f.content(git.diff(path, base))
5353+ f.content(git.diff_file(ENV["TM_PROJECT_DIRECTORY"], base))
5454 end
toggle raw diff