[Webkit-unassigned] [Bug 67544] New: webkit-patch in a git checkout falls over when a patch removes the last file in a directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 17:32:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67544

           Summary: webkit-patch in a git checkout falls over when a patch
                    removes the last file in a directory
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jamesr at chromium.org
                CC: eric at webkit.org, abarth at webkit.org,
                    dpranke at chromium.org, dbates at webkit.org


If you have a file foo/bar.txt and try to remove it, by default in git that will remove the foo/ folder as well (since in git directories are not tracked, only files are).  webkit-patch upload/land-cowboy/etc will then die because they attempt to determine the version control system by looking at the enclosing directory of modified files.  The workaround is easy (just mkdir foo and re-run the command) but definitely non-obvious.

This shows up for me quite a bit when doing rebaselines since the optimize step can often remove the last baseline from some platform-specific directory.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list