Pull 27: Fix spacing
Issue 27: Merge branch 'lucianm-master'
Fix missing empty line in commit message during gitcc checkin

Fixes #44.
The empty line is missing while parsing git log and then commiting to CC.
Fix git log format to print raw body (%B).
Merge pull request #45 from phts/fix-empty-line-in-commit-message

Fix missing empty line in commit message during gitcc checkin
fix filename and version detection
Merge pull request #46 from fape/filename_fix

fix filename and version detection
Fix whitespace
Fix "gitcc rebase" for empty files

(for files that had been checked in initially empty to CC)

Fixes #20.
The existing fix in charleso/git-cc@ccf628db033 is not working.

Solution:
If there is no "checkinversion" in "lshistory" then check if there is
3 items in the history (mkelemfile, mkelembranch, mkelemversion)
or 5 items (mkelemfile, mkelembranch, mkelemversion, mkbranchbranch, mkbranchversion)
If so then this file is created as an empty one and download it with proper version.
Move logic of "mkbranch_versions" and "checkin_versions" to a separate function

After a code review in charleso/git-cc#48.
Move common logic to "empty_file_versions" function

After a code review in charleso/git-cc#48.
Perform versions date filter before calling "checkin_versions"

Store to "actual_versions" filtered versions by date and use
it in "checkin_versions" and "empty_file_versions" functions.
Remove "date" parameter in all functions because "versions"
had already become filtered.
Fix "gitcc rebase" for new files in a folder

New files in a dir were filtered (rebase.py:249) and were not added because
they didn't exist yet in a CC view until performing Update in ClearCase
Explorer.

Perform "cleartool update" for each "checkindirectory version" folder
to get all its files in the CC view to allow retrieve lshistory on new files
properly.
Merge pull request #49 from phts/fix-rebase-new-files

Fix "gitcc rebase" for new files in a folder
Merge pull request #48 from phts/fix-rebase-empty-files

Fix "gitcc rebase" for empty files
Make `update` for the whole project dir instead of each updated dir

Alter pull request #49.

There were still issues with `gitcc rebase` and new files in several
subdirs. `lshistory` for such elements is reversed i.e. subdirs first
and then parent dirs.
Merge pull request #50 from phts/fix-fix-rebase-new-files

Make `update` for the whole project dir instead of each updated dir
#51 Squelch update errors for dynamic views