Re: [PATCH 9/9] gitweb: Separate printing difftree in git_commit into git_difftree_body

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Narebski <jnareb@xxxxxxxxx> writes:

> +		if ($status eq "A") { # created
>...
> +		} elsif ($status eq "D") { # deleted
>...
> +		} elsif ($status eq "M" || $status eq "T") { # modified, or type changed
>...
> +		} elsif ($status eq "R") { # renamed
>...
> +		} elsif ($status eq "C") { # copied
>...
> +		} # we should not encounter Unmerged (U) or Unknown (X) status

The body of these still seem to have quite a lot of
similarities.  Maybe further refactoring is in the works?

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]